summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go21
1 files changed, 11 insertions, 10 deletions
diff --git a/argv.go b/argv.go
index 4bad664..a2e80ea 100644
--- a/argv.go
+++ b/argv.go
@@ -65,16 +65,17 @@ 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-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"`
+ All *EmptyCmd `arg:"subcommand:all" help:"run on all the repos"`
+ Reload bool `arg:"--reload" help:"reload refs"`
+ 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-refs" 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 {