Merge pull request #93 from Morganamilo/addbottomup

Add missing --bottomup option
This commit is contained in:
J Guerreiro 2018-01-14 00:48:44 +09:00 committed by GitHub
commit 45e0b5509f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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