summaryrefslogtreecommitdiffstats
path: root/tool/src/sq-usage.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-08-15 16:29:46 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-08-15 16:34:49 +0200
commit10276b9e442596849fb0e3742408c26f621b9162 (patch)
tree569e442fd54adc15f5743f038fb341ea60f6cefc /tool/src/sq-usage.rs
parent8ad003bf46987a1adee5bbd3c1c8370544be2147 (diff)
tool: Implement sq sign.
- Fixes #17.
Diffstat (limited to 'tool/src/sq-usage.rs')
-rw-r--r--tool/src/sq-usage.rs23
1 files changed, 23 insertions, 0 deletions
diff --git a/tool/src/sq-usage.rs b/tool/src/sq-usage.rs
index 8db6f589..377f1a11 100644
--- a/tool/src/sq-usage.rs
+++ b/tool/src/sq-usage.rs
@@ -20,6 +20,7 @@
//! SUBCOMMANDS:
//! decrypt Decrypts an OpenPGP message
//! encrypt Encrypts a message
+//! sign Signs a message
//! store Interacts with key stores
//! keyserver Interacts with keyservers
//! autocrypt Autocrypt support
@@ -76,6 +77,28 @@
//! <FILE> Sets the input file to use
//! ```
//!
+//! ## Subcommand sign
+//!
+//! ```text
+//! Signs a message
+//!
+//! USAGE:
+//! sq sign [FLAGS] [OPTIONS] [--] [FILE]
+//!
+//! FLAGS:
+//! -B, --binary Emit unencoded OpenPGP data
+//! --detached Create a detached signature
+//! -h, --help Prints help information
+//! -V, --version Prints version information
+//!
+//! OPTIONS:
+//! -o, --output <FILE> Sets the output file to use
+//! --secret-key-file <TSK-FILE>... Secret key to sign with, given as a file (can be given multiple times)
+//!
+//! ARGS:
+//! <FILE> Sets the input file to use
+//! ```
+//!
//! ## Subcommand store
//!
//! ```text