summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go12
1 files changed, 8 insertions, 4 deletions
diff --git a/argv.go b/argv.go
index 6baab59..e1f855d 100644
--- a/argv.go
+++ b/argv.go
@@ -62,10 +62,14 @@ type CleanDevelCmd struct {
}
type PatchCmd struct {
- 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 string `arg:"--submit" help:"submit your commits"`
+ 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"`
}
type PullCmd struct {