From 0f0304d7edb8f6d942789835c4c2f8b43b921d6b Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Sat, 5 Jan 2019 11:04:12 +0100 Subject: [PATCH] Mention build rm the directory --- docs/content/documentation/getting-started/cli-usage.md | 2 +- src/cli.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/content/documentation/getting-started/cli-usage.md b/docs/content/documentation/getting-started/cli-usage.md index e74a5ac..a1a24ea 100644 --- a/docs/content/documentation/getting-started/cli-usage.md +++ b/docs/content/documentation/getting-started/cli-usage.md @@ -21,7 +21,7 @@ zola. ## build -This will build the whole site in the `public` directory. +This will build the whole site in the `public` directory after deleting it. ```bash $ zola build diff --git a/src/cli.rs b/src/cli.rs index ca40aaa..304d135 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -23,7 +23,7 @@ pub fn build_cli() -> App<'static, 'static> { .help("Name of the project. Will create a new directory with that name in the current directory") ), SubCommand::with_name("build") - .about("Builds the site") + .about("Deletes the output directory if there is one and builds the site") .args(&[ Arg::with_name("base_url") .short("u")