Browse Source

Mention build rm the directory

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
0f0304d7ed
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      docs/content/documentation/getting-started/cli-usage.md
  2. +1
    -1
      src/cli.rs

+ 1
- 1
docs/content/documentation/getting-started/cli-usage.md View File

@@ -21,7 +21,7 @@ zola.


## build ## 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 ```bash
$ zola build $ zola build


+ 1
- 1
src/cli.rs View File

@@ -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") .help("Name of the project. Will create a new directory with that name in the current directory")
), ),
SubCommand::with_name("build") SubCommand::with_name("build")
.about("Builds the site")
.about("Deletes the output directory if there is one and builds the site")
.args(&[ .args(&[
Arg::with_name("base_url") Arg::with_name("base_url")
.short("u") .short("u")


Loading…
Cancel
Save