summaryrefslogtreecommitdiff
path: root/argv.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 02:21:32 -0500
committerJeff Carr <[email protected]>2025-10-16 02:21:32 -0500
commit246771554e3b9abc8d070864c0c90de3d4647b58 (patch)
tree18b1d5d6c7e6a038b537e42130c25278d70db842 /argv.go
parent43750a33995434b6e699bd1fbcc6ea442f238d12 (diff)
argv cleanups for doVerify
Diffstat (limited to 'argv.go')
-rw-r--r--argv.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/argv.go b/argv.go
index 770bfa6..405ba90 100644
--- a/argv.go
+++ b/argv.go
@@ -70,8 +70,14 @@ type FixCmd struct {
}
type VerifyCmd struct {
- All *EmptyCmd `arg:"subcommand:all" help:"show mtime changes"`
- List bool `arg:"--list" help:"list all stats"`
+ Namespace *EmptyCmd `arg:"subcommand:namespace" help:"check the namespaces"`
+ Stats *StatsCmd `arg:"subcommand:stats" help:"generate origin.pb"`
+}
+
+type StatsCmd struct {
+ All bool `arg:"--all" help:"process all stats"`
+ Sizes bool `arg:"--sizes" help:"show sizes"`
+ List bool `arg:"--list" help:"list all stats"`
}
func (ShowCmd) Examples() string {