mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
f31ec3c280
The pflag package used in hugo has to use the "=" sign for double dash options such as --source. Thus the original example `--source ~/mysite` is already incorrect. Adding the = sign though woul not fix things in this case, since `--source=~/mysite` does not get resolved to /home/username/mysite, but looks for the ./~/mysite directory within the current directory. To resolve this, either the directory name has to be changed in the docs not to use the "~" sign, or have to change to use the single dash version of the command line flag. The latter seems to be more in line with the rest of the example. Leaving `--watch` as a double dash option to minimize the change, though it could be either way, since the follow up example uses the single dash version of both. |
||
---|---|---|
.. | ||
configuration.md | ||
contributing.md | ||
contributors.md | ||
example.md | ||
front-matter.md | ||
indexes.md | ||
installing.md | ||
license.md | ||
organization.md | ||
release-notes.md | ||
roadmap.md | ||
shortcodes.md | ||
source-directory.md | ||
templates.md | ||
usage.md | ||
variables.md |