From 7739aa685c16acf9aac325e96f24ae5db92d4c1e Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 23 Aug 2024 23:49:20 +0200 Subject: [PATCH] Add missing DisableAutoGenTag flag for commands --- cmd/restic/cmd_copy.go | 1 + cmd/restic/cmd_debug.go | 1 + cmd/restic/cmd_key.go | 1 + cmd/restic/cmd_repair.go | 1 + 4 files changed, 4 insertions(+) diff --git a/cmd/restic/cmd_copy.go b/cmd/restic/cmd_copy.go index cfe574d35..cd92193ac 100644 --- a/cmd/restic/cmd_copy.go +++ b/cmd/restic/cmd_copy.go @@ -41,6 +41,7 @@ Exit status is 11 if the repository is already locked. Exit status is 12 if the password is incorrect. `, GroupID: cmdGroupDefault, + DisableAutoGenTag: true, RunE: func(cmd *cobra.Command, args []string) error { return runCopy(cmd.Context(), copyOptions, globalOptions, args) }, diff --git a/cmd/restic/cmd_debug.go b/cmd/restic/cmd_debug.go index 2a48762d1..b92192492 100644 --- a/cmd/restic/cmd_debug.go +++ b/cmd/restic/cmd_debug.go @@ -32,6 +32,7 @@ var cmdDebug = &cobra.Command{ Use: "debug", Short: "Debug commands", GroupID: cmdGroupDefault, + DisableAutoGenTag: true, } var cmdDebugDump = &cobra.Command{ diff --git a/cmd/restic/cmd_key.go b/cmd/restic/cmd_key.go index 80e892f20..a94caa0d8 100644 --- a/cmd/restic/cmd_key.go +++ b/cmd/restic/cmd_key.go @@ -11,6 +11,7 @@ var cmdKey = &cobra.Command{ The "key" command allows you to set multiple access keys or passwords per repository. `, + DisableAutoGenTag: true, GroupID: cmdGroupDefault, } diff --git a/cmd/restic/cmd_repair.go b/cmd/restic/cmd_repair.go index 65a903a49..6a1a1f9dc 100644 --- a/cmd/restic/cmd_repair.go +++ b/cmd/restic/cmd_repair.go @@ -8,6 +8,7 @@ var cmdRepair = &cobra.Command{ Use: "repair", Short: "Repair the repository", GroupID: cmdGroupDefault, + DisableAutoGenTag: true, } func init() {