diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 { |
