Fix handling of --contentDir etc. flag
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 7 Apr 2018 09:27:22 +0000 (11:27 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sat, 7 Apr 2018 14:40:45 +0000 (16:40 +0200)
commit080302eb8757fd94ccbd6bf99103432cd98e716c
tree33816529e01bbdb3e3ad501de9ab2281058fc551
parent094ec171420e659cdf962a19dd90105912ce9901
Fix handling of --contentDir etc. flag

We need to revisit the commands package re globals and tests, but this should fix the init order of flags and languages.

Fixes #4589
commands/commandeer.go
commands/hugo.go
commands/server.go
hugolib/config.go