diff --git a/command/config.go b/command/config.go index ff866109d..0350e528b 100644 --- a/command/config.go +++ b/command/config.go @@ -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{