mirror of
https://github.com/restic/restic.git
synced 2025-08-22 17:57:48 +00:00
Don't sort flags for forget
command
This commit is contained in:
@@ -66,6 +66,8 @@ func init() {
|
|||||||
|
|
||||||
f.BoolVarP(&forgetOptions.DryRun, "dry-run", "n", false, "do not delete anything, just print what would be done")
|
f.BoolVarP(&forgetOptions.DryRun, "dry-run", "n", false, "do not delete anything, just print what would be done")
|
||||||
f.BoolVar(&forgetOptions.Prune, "prune", false, "automatically run the 'prune' command if snapshots have been removed")
|
f.BoolVar(&forgetOptions.Prune, "prune", false, "automatically run the 'prune' command if snapshots have been removed")
|
||||||
|
|
||||||
|
f.SortFlags = false
|
||||||
}
|
}
|
||||||
|
|
||||||
func runForget(opts ForgetOptions, gopts GlobalOptions, args []string) error {
|
func runForget(opts ForgetOptions, gopts GlobalOptions, args []string) error {
|
||||||
|
Reference in New Issue
Block a user