diff options
-rw-r--r-- | tool/src/sq-usage.rs | 9 | ||||
-rw-r--r-- | tool/src/sq_cli.rs | 7 |
2 files changed, 10 insertions, 6 deletions
diff --git a/tool/src/sq-usage.rs b/tool/src/sq-usage.rs index c4a1907d..420bcee2 100644 --- a/tool/src/sq-usage.rs +++ b/tool/src/sq-usage.rs @@ -715,7 +715,7 @@ //! updated and existing ones will be updated. //! //! USAGE: -//! sq wkd generate [FLAGS] <BASE-DIRECTORY> <DOMAIN> [KEYRING] +//! sq wkd generate [FLAGS] <WEB-ROOT> <DOMAIN> [KEYRING] //! //! FLAGS: //! -d, --direct_method Use the direct method. [default: advanced method] @@ -723,9 +723,10 @@ //! -V, --version Prints version information //! //! ARGS: -//! <BASE-DIRECTORY> The location to write the WKD to -//! <DOMAIN> The domain for the WKD. -//! <KEYRING> The keyring file with the keys to add to the WKD. +//! <WEB-ROOT> The location to write the WKD to. This must be the directory the webserver is serving the '.well- +//! known' directory from. +//! <DOMAIN> The domain for the WKD. +//! <KEYRING> The keyring file with the keys to add to the WKD. //! ``` //! //! ### Subcommand wkd get diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs index 6bf26266..52e43c98 100644 --- a/tool/src/sq_cli.rs +++ b/tool/src/sq_cli.rs @@ -568,9 +568,12 @@ pub fn build() -> App<'static, 'static> { is updated and existing ones \ will be updated.") .arg(Arg::with_name("base_directory") - .value_name("BASE-DIRECTORY") + .value_name("WEB-ROOT") .required(true) - .help("The location to write the WKD to")) + .help("The location to write the WKD to. \ + This must be the directory the \ + webserver is serving the \ + '.well-known' directory from.")) .arg(Arg::with_name("domain") .value_name("DOMAIN") .help("The domain for the WKD.") |