commands: Properly handle CLI slice arguments
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 14 Apr 2018 08:34:02 +0000 (10:34 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 14 Apr 2018 09:32:25 +0000 (11:32 +0200)
commit27a524b0905ec73c1eef233f94700feb9f465011
tree54b52fb75ffc867c1eb6f6da441cb186b900e7d2
parentbede93de005dcf934f3ec9be6388310ac6c57acd
commands: Properly handle CLI slice arguments

Like `--disableKinds` -- this handling was kind of broken when we recently moved this from global vars

See #4607
commands/commands_test.go
commands/hugo.go