Don't sort flags for `forget` command

This commit is contained in:
Alexander Neumann 2017-04-21 19:25:21 +02:00
parent ab870dd691
commit ce28584dda
1 changed files with 2 additions and 0 deletions

View File

@ -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.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 {