summaryrefslogtreecommitdiffstats
path: root/tool/src/sq-usage.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-06-06 16:29:01 +0200
committerJustus Winter <justus@sequoia-pgp.org>2018-06-06 16:35:10 +0200
commitdac624a298d33877858d969d90690bdd3c69da92 (patch)
treeeec4c1edbda73db5c9bb00d67339d34c8ede66db /tool/src/sq-usage.rs
parent0c44ac9e0bb8d1b96267a012363762486e9a1d0b (diff)
tool: Implement 'split' subcommand to split OpenPGP messages.
Diffstat (limited to 'tool/src/sq-usage.rs')
-rw-r--r--tool/src/sq-usage.rs19
1 files changed, 19 insertions, 0 deletions
diff --git a/tool/src/sq-usage.rs b/tool/src/sq-usage.rs
index a48b6ddb..f6e4220d 100644
--- a/tool/src/sq-usage.rs
+++ b/tool/src/sq-usage.rs
@@ -26,6 +26,7 @@
//! help Prints this message or the help of the given subcommand(s)
//! keyserver Interacts with keyservers
//! list Lists key stores and known keys
+//! split Splits a message into OpenPGP packets
//! store Interacts with key stores
//! ```
//!
@@ -255,6 +256,24 @@
//! <PREFIX> List only stores with the given domain prefix
//! ```
//!
+//! ## Subcommand split
+//!
+//! ```text
+//! Splits a message into OpenPGP packets
+//!
+//! USAGE:
+//! sq split [OPTIONS]
+//!
+//! FLAGS:
+//! -h, --help Prints help information
+//! -V, --version Prints version information
+//!
+//! OPTIONS:
+//! -i, --input <FILE> Sets the input file to use
+//! -p, --prefix <FILE> Sets the prefix to use for output files (defaults to the input filename with a dash, or
+//! 'output')
+//! ```
+//!
//! ## Subcommand store
//!
//! ```text