mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 16:26:25 +00:00
consistent casing
This commit is contained in:
parent
c1795b2acc
commit
37b26dfc31
@ -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…
Reference in New Issue
Block a user