Verbose isn't actually used right now so don't expose it; fix some wording for scope id flag

This commit is contained in:
Jeff Mitchell committed 2020-09-16 08:50:43 -04:00
1 parent 570e52cabb
commit 3c13e4765d
2 files changed
+9 -7

No files matched your search

+8 -6
View File
@@ -370,12 +370,14 @@ func (c *Command) FlagSet(bit FlagSetBit) *FlagSets {
if bit&FlagSetOutputFormat != 0 {
f := set.NewFlagSet("Output Options")
f.BoolVar(&BoolVar{
Name: "verbose",
Target: &c.flagVerbose,
Completion: complete.PredictAnything,
Usage: "Turns on some extra verbosity in the command output.",
})
/*
f.BoolVar(&BoolVar{
Name: "verbose",
Target: &c.flagVerbose,
Completion: complete.PredictAnything,
Usage: "Turns on some extra verbosity in the command output.",
})
*/
if bit&FlagSetOutputFormat != 0 {
f.StringVar(&StringVar{
+1 -1
View File
@@ -16,7 +16,7 @@ func PopulateCommonFlags(c *base.Command, f *base.FlagSet, resourceType string,
Target: &c.FlagScopeId,
Default: "global",
Completion: complete.PredictAnything,
Usage: `Scope in which to make the request. Defaults to "global".`,
Usage: `Scope in which to make the request.`,
})
case "id":
f.StringVar(&base.StringVar{