Add missing --bottomup option

This option was mentioned in --help and the man page but not implemented
in the arg parsing
This commit is contained in:
morganamilo 2017-12-30 05:51:40 +00:00
parent 1fabad45e2
commit 04bd59450c
No known key found for this signature in database
GPG Key ID: 6FE9E7996B0B082E

2
cmd.go
View File

@ -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()