From 8688dbc17e7125b594788ef23191e45b4705199d Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Thu, 21 Jul 2016 07:05:18 +1000 Subject: [PATCH] cmd: fix single-dash flag Signed-off-by: Aleksa Sarai --- cmd/gomtree/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/gomtree/main.go b/cmd/gomtree/main.go index ac9f02b..9d4f8ca 100644 --- a/cmd/gomtree/main.go +++ b/cmd/gomtree/main.go @@ -16,7 +16,7 @@ var ( flPath = flag.String("p", "", "root path that the hierarchy spec is relative to") flAddKeywords = flag.String("K", "", "Add the specified (delimited by comma or space) keywords to the current set of keywords") flUseKeywords = flag.String("k", "", "Use the specified (delimited by comma or space) keywords as the current set of keywords") - flListKeywords = flag.Bool("list-keywords", false, "List the keywords available") + flListKeywords = flag.Bool("-list-keywords", false, "List the keywords available") ) func main() {