summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go20
1 files changed, 7 insertions, 13 deletions
diff --git a/argv.go b/argv.go
index 50fff22..b2e89fb 100644
--- a/argv.go
+++ b/argv.go
@@ -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 {