From 04bd59450c200805350e5b7a0bf3e258f4f0d5eb Mon Sep 17 00:00:00 2001 From: morganamilo Date: Sat, 30 Dec 2017 05:51:40 +0000 Subject: [PATCH] Add missing --bottomup option This option was mentioned in --help and the man page but not implemented in the arg parsing --- cmd.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd.go b/cmd.go index 1884c448..21570563 100644 --- a/cmd.go +++ b/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()