From 37b26dfc31b50987cc39e74eb10676e145476013 Mon Sep 17 00:00:00 2001 From: cupcakearmy Date: Wed, 28 Apr 2021 10:54:30 +0200 Subject: [PATCH] consistent casing --- cmd/forget.go | 4 ++-- cmd/root.go | 1 - cmd/uninstall.go | 2 +- cmd/upgrade.go | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/cmd/forget.go b/cmd/forget.go index 64363cd..2034c0f 100644 --- a/cmd/forget.go +++ b/cmd/forget.go @@ -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") } diff --git a/cmd/root.go b/cmd/root.go index 4c55f6c..2e234ba 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -57,5 +57,4 @@ func initConfig() { viper.SetConfigName(".autorestic") } viper.AutomaticEnv() - internal.GetConfig() } diff --git a/cmd/uninstall.go b/cmd/uninstall.go index 0fe438a..50f774c 100644 --- a/cmd/uninstall.go +++ b/cmd/uninstall.go @@ -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.") } diff --git a/cmd/upgrade.go b/cmd/upgrade.go index 2ecd1c6..f2a0dc7 100644 --- a/cmd/upgrade.go +++ b/cmd/upgrade.go @@ -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") }