Merge pull request #80 from jkaninda/develop

remove operation old cmd
This commit is contained in:
Jonas Kaninda
2024-09-10 23:15:38 +02:00
committed by GitHub

View File

@@ -33,7 +33,6 @@ func Execute() {
func init() { func init() {
rootCmd.PersistentFlags().StringP("dbname", "d", "", "Database name") rootCmd.PersistentFlags().StringP("dbname", "d", "", "Database name")
rootCmd.PersistentFlags().StringVarP(&operation, "operation", "o", "", "Set operation, for old version only")
rootCmd.AddCommand(VersionCmd) rootCmd.AddCommand(VersionCmd)
rootCmd.AddCommand(BackupCmd) rootCmd.AddCommand(BackupCmd)
rootCmd.AddCommand(RestoreCmd) rootCmd.AddCommand(RestoreCmd)