diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 20 |
1 files changed, 7 insertions, 13 deletions
@@ -116,22 +116,16 @@ type CleanDevelCmd struct { } type PatchCmd struct { - Check *EmptyCmd `arg:"subcommand:check" help:"check the state of the patches"` - List *EmptyCmd `arg:"subcommand:list" help:"your downloaded patchsets"` - Get *EmptyCmd `arg:"subcommand:get" help:"get the new patchsets"` - Show *EmptyCmd `arg:"subcommand:show" help:"your pending commits to your code"` - Submit *SubmitCmd `arg:"subcommand:submit" help:"submit your commits"` -} - -type SubmitCmd struct { - Match string `arg:"positional"` + Get *EmptyCmd `arg:"subcommand:get" help:"get the new patchsets"` + Fix bool `arg:"--fix" help:"actually apply your patches"` + Submit bool `arg:"--resubmit" help:"resubmit your git commits"` } type PullCmd struct { - Force bool `arg:"--force" help:"try to strong-arm things"` - List *EmptyCmd `arg:"subcommand:list" help:"list repo versions"` - Check *RepoCmd `arg:"subcommand:check" help:"check for repo changes"` - Update *EmptyCmd `arg:"subcommand:update" help:"report updates"` + Force bool `arg:"--force" help:"try to strong-arm things"` + List *EmptyCmd `arg:"subcommand:list" help:"list repo versions"` + Check *RepoCmd `arg:"subcommand:check" help:"check for repo changes"` + Update *EmptyCmd `arg:"subcommand:update" help:"report updates"` } type TagCmd struct { |
