redesign started
This commit is contained in:
1 parent
2daae5cf9e
commit
52d49e70f2
4 files changed
+7
-74
No files matched your search
+1
-1
@@ -30,7 +30,7 @@ func Execute() error {
|
||||
func init() {
|
||||
cobra.OnInitialize(initConfig)
|
||||
|
||||
rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "config file (default is $HOME/.config/backy/config.yaml)")
|
||||
rootCmd.PersistentFlags().StringVarP(&cfgFile, "config", "c", "", "config file to read from")
|
||||
rootCmd.PersistentFlags().BoolVarP(&verbose, "verbose", "v", false, "Sets verbose level")
|
||||
rootCmd.PersistentFlags().Bool("viper", true, "use Viper for configuration")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user