Opt-In Wiki Generation
This commit is contained in:
+3
-1
@@ -508,8 +508,10 @@ func parseBuildTopDataArgs(commandName string, args []string) (topdata.BuildAndP
|
||||
switch arg {
|
||||
case "--force":
|
||||
opts.Force = true
|
||||
case "--wiki":
|
||||
opts.BuildWiki = true
|
||||
case "-h", "--help":
|
||||
return opts, fmt.Errorf("usage: %s [--force]", commandName)
|
||||
return opts, fmt.Errorf("usage: %s [--force] [--wiki]", commandName)
|
||||
default:
|
||||
return opts, fmt.Errorf("unknown %s argument %q", commandName, arg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user