From 2212f37a1f9a2fa600c77f7858db0e705a83df14 Mon Sep 17 00:00:00 2001 From: Rafe Kettler Date: Sun, 25 May 2014 19:50:37 -0400 Subject: [PATCH] Fix description of behavior of `hyde create -f` The docs say that using -f will throw an exception if the target directory is nonempty, however the actual behavior is to throw an exception if marker files (either content/, layout/, or site.yaml) are present. --- content/commands.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/commands.html b/content/commands.html index fb95fae..baefbde 100644 --- a/content/commands.html +++ b/content/commands.html @@ -41,8 +41,8 @@ : Specifying this option will overwrite files and folders at the given site path. - *Optional* - If the target directory is not empty, hyde will throw an - exception unless this is specified. + *Optional* - If the target directory contains another Hyde site, hyde will + throw an exception unless this is specified. `-l LAYOUT, --layout LAYOUT` : The name of the layout to use for creating the initial site. Hyde currently @@ -210,4 +210,4 @@ ~~~~~~~~~~ [configuration]: [[config]] -[pub]: [[publisher]] \ No newline at end of file +[pub]: [[publisher]]