Add missing --bottomup option

This commit is contained in:
morganamilo 2018-01-06 23:28:07 +00:00
parent 32ecd8b1dd
commit 40a881927c
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 config.TimeUpdate = false
case "--topdown": case "--topdown":
config.SortMode = TopDown config.SortMode = TopDown
case "--bottomup":
config.SortMode = BottomUp
case "--complete": case "--complete":
config.Shell = "sh" config.Shell = "sh"
_ = complete() _ = complete()