Make noTimes command flag work
authorTatsushi Demachi <tdemachi@gmail.com>
Tue, 1 Dec 2015 16:48:52 +0000 (01:48 +0900)
committerAnthony Fok <foka@debian.org>
Tue, 1 Dec 2015 17:01:44 +0000 (10:01 -0700)
commite989468341d32be9404e86469b3563e1567df738
treed06419fc211154a6b99e023e9ec9892612096472
parent6c8103144fc7b65251d2ba26eb23630bc96807f0
Make noTimes command flag work

Hugo command provides "noTimes" flag but it doesn't affect synced files
timestamp regardless of whether the flag is specified or not.

This fixes it by adding a flag check and overwriting configuration if it
is specified.

Fix #1583
commands/hugo.go