ignore MarkHidden errors
This commit is contained in:
parent
6e55e899fa
commit
fcf258620c
1 changed files with 2 additions and 10 deletions
|
|
@ -14,17 +14,9 @@ func init() {
|
|||
configSetCmd.Flags().StringP("host", "h", "", "Set per-host setting")
|
||||
|
||||
// TODO reveal and add usage once we properly support multiple hosts
|
||||
err := configGetCmd.Flags().MarkHidden("host")
|
||||
|
||||
if err != nil {
|
||||
panic("this should not happen")
|
||||
}
|
||||
|
||||
_ = configGetCmd.Flags().MarkHidden("host")
|
||||
// TODO reveal and add usage once we properly support multiple hosts
|
||||
err = configSetCmd.Flags().MarkHidden("host")
|
||||
if err != nil {
|
||||
panic("this should not happen")
|
||||
}
|
||||
_ = configSetCmd.Flags().MarkHidden("host")
|
||||
}
|
||||
|
||||
var configCmd = &cobra.Command{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue