Browse Source

jpictl: fixup the verbosity flag to obey line limit

Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
pull/17/head
parent
commit
f6766547f9
Signed by: karasz
GPG Key ID: FA002E83BC206F83
  1. 3
      cmd/jpictl/main.go

3
cmd/jpictl/main.go

@ -28,7 +28,8 @@ func main() {
} }
func init() { func init() {
rootCmd.PersistentFlags().CountVarP(&verbosity, "verbosity", "v", "increase the verbosity level to Warn, Info or Debug") rootCmd.PersistentFlags().CountVarP(&verbosity, "verbosity", "v",
"increase the verbosity level to Warn, Info or Debug")
} }
func setVerbosity(_ *cobra.Command, _ []string) { func setVerbosity(_ *cobra.Command, _ []string) {

Loading…
Cancel
Save