Browse Source

Add missing --bottomup option

This option was mentioned in --help and the man page but not implemented
in the arg parsing
morganamilo 7 years ago
parent
commit
04bd59450c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      cmd.go

+ 2 - 0
cmd.go

@@ -190,6 +190,8 @@ func parser() (op string, options []string, packages []string, changedConfig boo
 				config.TimeUpdate = false
 			case "--topdown":
 				config.SortMode = TopDown
+			case "--bottomup":
+				config.SortMode = BottomUp
 			case "--complete":
 				config.Shell = "sh"
 				_ = complete()