ignore MarkHidden errors

This commit is contained in:
vilmibm 2020-04-21 11:23:38 -05:00
parent 6e55e899fa
commit fcf258620c

View file

@ -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{