jpictl: fixup the verbosity flag to obey line limit #17
+2
-1
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user