Change most global flags into local ones
authorAnthony Fok <foka@debian.org>
Wed, 2 Dec 2015 19:00:47 +0000 (12:00 -0700)
committerAnthony Fok <foka@debian.org>
Thu, 3 Dec 2015 07:36:38 +0000 (00:36 -0700)
commit00d04774f0d9789262557af6a6465d8b6271839d
tree6ac014c9a651962d6bd17d31aa69a720aed9c599
parentc9526f6e3fdffe9e583e11d3513faa392576c305
Change most global flags into local ones

This is to ensure that only the relevant command-line flags
for a certain Hugo subcommand is shown to the end user,
reducing clutter and improving user experience.

Fixes #1624 - CLI UX: Flags shouldn't be global
commands/benchmark.go
commands/check.go
commands/convert.go
commands/hugo.go
commands/list.go
commands/list_config.go
commands/server.go