diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -22,7 +22,7 @@ type args struct { Rescan *EmptyCmd `arg:"subcommand:rescan" help:"recreate the git protobuf repos.pb file"` Delete *EmptyCmd `arg:"subcommand:delete" help:"untrack a repo"` Commit *EmptyCmd `arg:"subcommand:commit" help:"smart 'git commit' (errors out if on wrong branch)"` - Examine *EmptyCmd `arg:"subcommand:examine" help:"examine branches"` + Examine *ExamineCmd `arg:"subcommand:examine" help:"examine branches"` URL string `arg:"--connect" help:"gowebd url"` All bool `arg:"--all" help:"git commit --all"` Show string `arg:"--show" help:"show a repo"` @@ -36,10 +36,16 @@ type EmptyCmd struct { type testCmd string +type ExamineCmd struct { + Fix *EmptyCmd `arg:"subcommand:fix" help:"try to auto fix branches"` + Show *EmptyCmd `arg:"subcommand:show" help:"show a specific patch"` + Submit string `arg:"--submit" help:"name of patchset"` +} + type PatchCmd struct { List *EmptyCmd `arg:"subcommand:list" help:"list available patches"` Show *EmptyCmd `arg:"subcommand:show" help:"show a specific patch"` - Submit string `arg:"--submit" help:"name of patchset"` + Submit string `arg:"--submit" help:"submit a new patchset with name"` } type ConfigAddCmd struct { |
