consistent casing

pull/72/head
cupcakearmy 4 years ago
parent c1795b2acc
commit 37b26dfc31
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9

@ -31,6 +31,6 @@ var forgetCmd = &cobra.Command{
func init() { func init() {
rootCmd.AddCommand(forgetCmd) rootCmd.AddCommand(forgetCmd)
internal.AddFlagsToCommand(forgetCmd, false) internal.AddFlagsToCommand(forgetCmd, false)
forgetCmd.Flags().Bool("prune", false, "Also prune repository") forgetCmd.Flags().Bool("prune", false, "also prune repository")
forgetCmd.Flags().Bool("dry-run", false, "Do not write changes, show what would be affected") forgetCmd.Flags().Bool("dry-run", false, "do not write changes, show what would be affected")
} }

@ -57,5 +57,4 @@ func initConfig() {
viper.SetConfigName(".autorestic") viper.SetConfigName(".autorestic")
} }
viper.AutomaticEnv() viper.AutomaticEnv()
internal.GetConfig()
} }

@ -16,5 +16,5 @@ var uninstallCmd = &cobra.Command{
func init() { func init() {
rootCmd.AddCommand(uninstallCmd) rootCmd.AddCommand(uninstallCmd)
uninstallCmd.Flags().Bool("no-restic", false, "Do not uninstall restic.") uninstallCmd.Flags().Bool("no-restic", false, "do not uninstall restic.")
} }

@ -17,5 +17,5 @@ var upgradeCmd = &cobra.Command{
func init() { func init() {
rootCmd.AddCommand(upgradeCmd) rootCmd.AddCommand(upgradeCmd)
upgradeCmd.Flags().Bool("no-restic", false, "Also update restic. Default: true") upgradeCmd.Flags().Bool("no-restic", false, "also update restic")
} }

Loading…
Cancel
Save