diff --git a/docs/user/nextclade-cli/reference.md b/docs/user/nextclade-cli/reference.md index dcf7a67b5..99b53cf44 100644 --- a/docs/user/nextclade-cli/reference.md +++ b/docs/user/nextclade-cli/reference.md @@ -416,7 +416,7 @@ For short help type: `nextclade -h`, for extended help type: `nextclade --help`. You can host your own dataset server, with one or more datasets, grouped into dataset collections, and use this server to provide datasets to users of Nextclade CLI and Nextclade Web. Refer to Nextclade dataset documentation for more details. - Default value: `https://data.master.clades.nextstrain.org/v3` + * `-x`, `--proxy ` — Pass all traffic over proxy server. HTTP, HTTPS, and SOCKS5 proxies are supported * `--proxy-user ` — Username for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted * `--proxy-pass ` — Password for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted @@ -449,7 +449,7 @@ For short help type: `nextclade -h`, for extended help type: `nextclade --help`. You can host your own dataset server, with one or more datasets, grouped into dataset collections, and use this server to provide datasets to users of Nextclade CLI and Nextclade Web. Refer to Nextclade dataset documentation for more details. - Default value: `https://data.master.clades.nextstrain.org/v3` + * `-o`, `--output-dir ` — Path to directory to write dataset files to. This flag is mutually exclusive with `--output-zip`, and provides the equivalent output, but in the form of a directory with files, instead of a compressed zip archive. @@ -540,7 +540,7 @@ For short help type: `nextclade -h`, for extended help type: `nextclade --help`. You can host your own dataset server, with one or more datasets, grouped into dataset collections, and use this server to provide datasets to users of Nextclade CLI and Nextclade Web. Refer to Nextclade dataset documentation for more details. - Default value: `https://data.master.clades.nextstrain.org/v3` + * `-x`, `--proxy ` — Pass all traffic over proxy server. HTTP, HTTPS, and SOCKS5 proxies are supported * `--proxy-user ` — Username for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted * `--proxy-pass ` — Password for basic authentication on proxy server, if applicable. Only valid when `--proxy` is also supplied. `--proxy-user` and `--proxy-pass` must be either both specified or both omitted diff --git a/packages/nextclade-cli/src/cli/print_help_markdown.rs b/packages/nextclade-cli/src/cli/print_help_markdown.rs index 00c24da31..c14ed6ae0 100644 --- a/packages/nextclade-cli/src/cli/print_help_markdown.rs +++ b/packages/nextclade-cli/src/cli/print_help_markdown.rs @@ -35,6 +35,8 @@ If you have Nextclade CLI installed, you can type `nextclade --help` to read the "$orig", )?; + let help = replace(&help, "Default value: `https://(.*)`", "")?; + let help = replace(&help, "", "")?; println!("{help}");