1
0
Fork 0
mirror of https://github.com/vbatts/go-mtree.git synced 2025-07-02 22:08:31 +00:00

main: change -l to -list-keywords

The FreeBSD flag `-l` is already used and has differing behavior, so
switch to not conflict

Reported-by: Aleksa Sarai <asarai@suse.de>
Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2016-07-20 11:39:32 -04:00
parent 61dd456524
commit 247cd84075
2 changed files with 27 additions and 2 deletions

View file

@ -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("l", false, "List the keywords available")
flListKeywords = flag.Bool("list-keywords", false, "List the keywords available")
)
func main() {