summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go14
1 files changed, 7 insertions, 7 deletions
diff --git a/argv.go b/argv.go
index 391065a..db94b9c 100644
--- a/argv.go
+++ b/argv.go
@@ -15,19 +15,19 @@ type FindCmd struct {
}
type DoCmd struct {
- List bool `arg:"--list" help:"just show a table of the current state"`
- GitPull bool `arg:"--pull" help:"run 'git pull'"`
- GitReset bool `arg:"--git-reset" help:"run 'git reset --hard'"`
- Scan bool `arg:"--scan" help:"reload protobuf from .git/"`
- Force bool `arg:"--force" help:"force redo things"`
- Dirty bool `arg:"--dirty" help:"update git CheckDirty()"`
+ List bool `arg:"--list" help:"just show a table of the current state"`
+ GitPull bool `arg:"--pull" help:"run 'git pull'"`
+ GitReset bool `arg:"--git-reset" help:"run 'git reset --hard'"`
+ Scan bool `arg:"--scan" help:"reload protobuf from .git/"`
+ Force bool `arg:"--force" help:"force redo things"`
+ Dirty bool `arg:"--dirty" help:"update git CheckDirty()"`
+ PatchSet string `arg:"--patchset" help:"make patch set"`
}
type args struct {
Find *FindCmd `arg:"subcommand:find" help:"select repos (for example, --all or --mine)"`
Do *DoCmd `arg:"subcommand:do" help:"do something ('git pull', 'build', 'install', etc)"`
Config bool `arg:"--config" help:"show your .config/forge/ settings"`
- DoPatchSet bool `arg:"--make-patchset" help:"make patch set"`
ListPatchSet bool `arg:"--list-patchset" help:"list patch sets"`
DryRun bool `arg:"--dry-run" help:"show what would be run"`
Fix bool `arg:"--fix" help:"fix config, save config & exit"`