From 2e594cade649b2a863a0e09b4ad6eeade0607633 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Sat, 17 Apr 2021 13:12:20 +0200 Subject: [PATCH] docs --- cmd/root.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index ecb942c..87a6a40 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -51,7 +51,7 @@ func Execute() { func init() { rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "config file (default is $HOME/.autorestic.yml or ./.autorestic.yml)") rootCmd.PersistentFlags().BoolVar(&internal.CI, "ci", false, "CI mode disabled interactive mode and colors and enables verbosity") - rootCmd.PersistentFlags().BoolVar(&internal.VERBOSE, "verbose", false, "verbose mode") + rootCmd.PersistentFlags().BoolVarP(&internal.VERBOSE, "verbose", "v", false, "verbose mode") cobra.OnInitialize(initConfig) }