diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -43,7 +43,6 @@ type ShowCmd struct { ENV *EmptyCmd `arg:"subcommand:ENV" help:"show lib/env"` Tag *TagCmd `arg:"subcommand:refs" help:"show git refs"` Repos *RepoCmd `arg:"subcommand:repos" help:"show repos by type. deprecate."` - Repo string `arg:"--repo" help:"lookup this repo namespace"` // MasterDefault *EmptyCmd `arg:"subcommand:masterdefault" help:"run the default behavior for master branches"` } @@ -66,13 +65,16 @@ type VerifyCmd struct { } type StatsCmd struct { - All bool `arg:"--all" help:"update all stats"` - CheckRefs bool `arg:"--check-refs" help:"load & check refs"` - CheckRemote bool `arg:"--check-refs-remote" help:"load & check remote refs"` - UpdateRefs bool `arg:"--update" help:"update refs"` - UpdateRemote bool `arg:"--update-remote" help:"update remote refs"` - Sizes bool `arg:"--sizes" help:"show sizes"` - List bool `arg:"--list" help:"list all stats"` + All bool `arg:"--all" help:"update all stats"` + CheckRefs bool `arg:"--check-refs" help:"load & check refs"` + CheckRemote bool `arg:"--check-remote" help:"load & check remote log"` + CheckRemoteRefs bool `arg:"--check-remote-refs" help:"load & check remote refs"` + UpdateRefs bool `arg:"--update" help:"update refs"` + UpdateRemote bool `arg:"--update-remote" help:"update remote log"` + UpdateRemoteRefs bool `arg:"--update-remote-refs" help:"update remote refs"` + Sizes bool `arg:"--sizes" help:"show sizes"` + List bool `arg:"--list" help:"list all stats"` + Repo string `arg:"--repo" help:"lookup this repo namespace"` } func (ShowCmd) Examples() string { @@ -109,7 +111,7 @@ type DevCmd struct { GoWork *EmptyCmd `arg:"subcommand:gowork" help:"make a go.work"` Fixer *FixCmd `arg:"subcommand:fixer" help:"send in the fixer"` URL string `arg:"--connect" help:"forge url"` - Stats *StatsCmd `arg:"subcommand:stats" help:"generate origin.pb"` + Stats *StatsCmd `arg:"subcommand:refs" help:"generate stats ref .pb files"` Namespace *EmptyCmd `arg:"subcommand:namespace" help:"check the namespaces"` GitConfig *EmptyCmd `arg:"subcommand:gitconfig" help:"check the .git/config files"` } |
