tweak error text
This commit is contained in:
parent
1424e4a973
commit
3f95e4595f
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ func NewCmdView(f *cmdutil.Factory, runF func(*ViewOptions) error) *cobra.Comman
|
|||
}
|
||||
|
||||
if opts.Web && opts.Log {
|
||||
return &cmdutil.FlagError{Err: errors.New("only one of --web or --log can be passed at a time")}
|
||||
return &cmdutil.FlagError{Err: errors.New("specify only one of --web or --log")}
|
||||
}
|
||||
|
||||
if runF != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue