consistent casing

This commit is contained in:
cupcakearmy 2021-04-28 10:54:30 +02:00
parent c1795b2acc
commit 37b26dfc31
No known key found for this signature in database
GPG Key ID: D28129AE5654D9D9
4 changed files with 4 additions and 5 deletions

View File

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

View File

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

View File

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

View File

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