diff options
author | juga <juga@sequoia-pgp.org> | 2019-06-14 11:34:25 +0000 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-09-09 17:00:49 +0200 |
commit | f61f57d4ad1ee45b3d6b0014bf4339a6d1469f9b (patch) | |
tree | 9ff16cf0373c044579aab6273bf5136a259d7b68 /tool/src/sq-usage.rs | |
parent | 50c48030b2b9c7bb6ae160bb23717f68b2e7509f (diff) |
tool: Add 'wkd generate' subcommand.
Diffstat (limited to 'tool/src/sq-usage.rs')
-rw-r--r-- | tool/src/sq-usage.rs | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/tool/src/sq-usage.rs b/tool/src/sq-usage.rs index e06ea6b5..bc012ae3 100644 --- a/tool/src/sq-usage.rs +++ b/tool/src/sq-usage.rs @@ -670,9 +670,35 @@ //! -V, --version Prints version information //! //! SUBCOMMANDS: -//! get Writes to the standard output the TPK retrieved from a Web Key Directory, given an email address -//! help Prints this message or the help of the given subcommand(s) -//! url Prints the Web Key Directory URL of an email address. +//! generate Generates a Web Key Directory for the given domain and keys. +//! The owner of the directory and files will be the user that runs this command. +//! This command only works on Unix-like systems. +//! get Writes to the standard output the TPK retrieved from a Web Key Directory, given an email address +//! help Prints this message or the help of the given subcommand(s) +//! url Prints the Web Key Directory URL of an email address. +//! ``` +//! +//! ### Subcommand wkd generate +//! +//! ```text +//! Generates a Web Key Directory for the given domain and keys. +//! The owner of the directory and files will be the user that runs this command. +//! This command only works on Unix-like systems. +//! +//! USAGE: +//! sq wkd generate [FLAGS] [OPTIONS] <DOMAIN> [KEYRING] +//! +//! FLAGS: +//! -d, --direct_method Use the direct method. [default: advanced method] +//! -h, --help Prints help information +//! -V, --version Prints version information +//! +//! OPTIONS: +//! -o, --output <output> The top level directory directory. [default: /var/www/html] +//! +//! ARGS: +//! <DOMAIN> The domain for the WKD. +//! <KEYRING> The keyring file with the keys to add to the WKD. //! ``` //! //! ### Subcommand wkd get |