mirror of
https://github.com/restic/restic.git
synced 2025-02-02 04:24:10 +00:00
Don't sort flags for forget
command
This commit is contained in:
parent
ab870dd691
commit
ce28584dda
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue