jpictl: fixup the verbosyti flag to obey line limit

Signed-off-by: Nagy Károly Gábriel <k@jpi.io>
This commit is contained in:
2023-09-11 18:25:47 +03:00
parent 6aec17d079
commit fa6f3d6bb9
+2 -1
View File
@@ -28,7 +28,8 @@ func main() {
}
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) {