diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -15,8 +15,8 @@ type EmptyCmd struct { } type PatchCmd struct { - List bool `arg:"--list" help:"list available patches"` - Show string `arg:"--show" help:"show a specific patch"` + List *EmptyCmd `arg:"subcommand:list" help:"list available patches"` + Show *EmptyCmd `arg:"subcommand:show" help:"show a specific patch"` } type ConfigCmd struct { @@ -46,7 +46,7 @@ type args struct { Checkout *CheckoutCmd `arg:"subcommand:checkout" help:"switch git branches"` Config *ConfigCmd `arg:"subcommand:config" help:"show your .config/forge/ settings"` Dirty *EmptyCmd `arg:"subcommand:dirty" help:"check if your git repos are dirty"` - GitReset *EmptyCmd `arg:"subcommand:hard-reset" help:"hard reset your user git branch"` + GitReset *EmptyCmd `arg:"subcommand:hard-reset" help:"hard reset your user git branches"` List *FindCmd `arg:"subcommand:list" help:"just show a table of the current state"` Patch *PatchCmd `arg:"subcommand:patch" help:"examine and make patch sets"` GitPull *FindCmd `arg:"subcommand:pull" help:"run 'git pull'"` |
