We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e55e89 commit fcf2586Copy full SHA for fcf2586
command/config.go
@@ -14,17 +14,9 @@ func init() {
14
configSetCmd.Flags().StringP("host", "h", "", "Set per-host setting")
15
16
// TODO reveal and add usage once we properly support multiple hosts
17
- err := configGetCmd.Flags().MarkHidden("host")
18
-
19
- if err != nil {
20
- panic("this should not happen")
21
- }
22
+ _ = configGetCmd.Flags().MarkHidden("host")
23
24
- err = configSetCmd.Flags().MarkHidden("host")
25
26
27
+ _ = configSetCmd.Flags().MarkHidden("host")
28
}
29
30
var configCmd = &cobra.Command{
0 commit comments