diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -63,6 +63,7 @@ type FixCmd struct { Urls bool `arg:"--urls" help:"check for changes in repo urls"` Untracked bool `arg:"--untracked" help:"git untracked file list"` DeleteUser bool `arg:"--delete-user" help:"delete all user branches (checks for safety)"` + Prune bool `arg:"--prune" help:"'git fetch --prune' everywhere"` } func (ShowCmd) Examples() string { @@ -77,7 +78,6 @@ type RepoCmd struct { Private bool `arg:"--private" help:"your private repos from your .config/forge/"` User bool `arg:"--user" help:"show repos on the user branch"` Full bool `arg:"--full" help:"show full repo names"` - // ReadOnly bool `arg:"--readonly" help:"include read-only repos"` } type ModeCmd struct { @@ -88,7 +88,6 @@ type ModeCmd struct { } type CommitCmd struct { - // Submit bool `arg:"--submit" help:"submit the patches to forge"` All bool `arg:"--all" help:"git commit in all dirty repos"` } @@ -99,7 +98,6 @@ type DevCmd struct { Generate string `arg:"--generate" help:"run go generate"` BuildForge bool `arg:"--forge-rebuild" help:"download all the forge sources and rebuild forge"` URL string `arg:"--connect" help:"forge url"` - Prune bool `arg:"--prune" help:"'git fetch --prune' everywhere"` } type CleanCmd struct { @@ -214,7 +212,7 @@ func (args) Appname() string { func (a args) DoAutoComplete(pb *prep.Auto) { if pb.Cmd == "" { - pb.Autocomplete3([]string{"checkout", "clean", "commit", "gui", "merge", "mode", "patch", "pull", "show", "add", "--version", "--force", "dev", "normal"}) + pb.Autocomplete3([]string{"checkout", "clean", "commit", "gui", "merge", "mode", "patch", "pull", "show", "add", "fixer", "--version", "--force", "dev", "normal"}) } else { pb.SubCommand(pb.Goargs...) } |
