summaryrefslogtreecommitdiffstats
path: root/tool/src/sq-usage.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2019-03-13 16:42:24 +0100
committerJustus Winter <justus@sequoia-pgp.org>2019-03-13 17:24:42 +0100
commit6ca0c166e047eec89623b7edead32eb6aeeba6fa (patch)
tree3b54a381a9e9a9f9a2b6e1b28c479d7b8bc0fb56 /tool/src/sq-usage.rs
parent9d09e668fa9ff7f86ec385993044e7946301bf60 (diff)
sq: New subcommand 'packet'.
- This moves the packet-related subcommands below 'sq packet'.
Diffstat (limited to 'tool/src/sq-usage.rs')
-rw-r--r--tool/src/sq-usage.rs67
1 files changed, 42 insertions, 25 deletions
diff --git a/tool/src/sq-usage.rs b/tool/src/sq-usage.rs
index 6981e439..18c9d452 100644
--- a/tool/src/sq-usage.rs
+++ b/tool/src/sq-usage.rs
@@ -28,13 +28,12 @@
//! keyserver Interacts with keyservers
//! autocrypt Autocrypt support
//! dearmor Removes ASCII Armor from a file
-//! dump Lists OpenPGP packets
//! enarmor Applies ASCII Armor to a file
//! help Prints this message or the help of the given subcommand(s)
//! inspect Inspects a sequence of OpenPGP packets
//! key Manipulates keys
//! list Lists key stores and known keys
-//! split Splits a message into OpenPGP packets
+//! packet OpenPGP Packet manipulation
//! ```
//!
//! ## Subcommand decrypt
@@ -382,27 +381,6 @@
//! <FILE> Sets the input file to use
//! ```
//!
-//! ## Subcommand dump
-//!
-//! ```text
-//! Lists OpenPGP packets
-//!
-//! USAGE:
-//! sq dump [FLAGS] [OPTIONS] [FILE]
-//!
-//! FLAGS:
-//! -h, --help Prints help information
-//! -x, --hex Print a hexdump
-//! --mpis Print MPIs
-//! -V, --version Prints version information
-//!
-//! OPTIONS:
-//! -o, --output <FILE> Sets the output file to use
-//!
-//! ARGS:
-//! <FILE> Sets the input file to use
-//! ```
-//!
//! ## Subcommand enarmor
//!
//! ```text
@@ -562,13 +540,52 @@
//! <PREFIX> List only stores with the given domain prefix
//! ```
//!
-//! ## Subcommand split
+//! ## Subcommand packet
+//!
+//! ```text
+//! OpenPGP Packet manipulation
+//!
+//! USAGE:
+//! sq packet [SUBCOMMAND]
+//!
+//! FLAGS:
+//! -h, --help Prints help information
+//! -V, --version Prints version information
+//!
+//! SUBCOMMANDS:
+//! dump Lists OpenPGP packets
+//! help Prints this message or the help of the given subcommand(s)
+//! split Splits a message into OpenPGP packets
+//! ```
+//!
+//! ### Subcommand packet dump
+//!
+//! ```text
+//! Lists OpenPGP packets
+//!
+//! USAGE:
+//! sq packet dump [FLAGS] [OPTIONS] [FILE]
+//!
+//! FLAGS:
+//! -h, --help Prints help information
+//! -x, --hex Print a hexdump
+//! --mpis Print MPIs
+//! -V, --version Prints version information
+//!
+//! OPTIONS:
+//! -o, --output <FILE> Sets the output file to use
+//!
+//! ARGS:
+//! <FILE> Sets the input file to use
+//! ```
+//!
+//! ### Subcommand packet split
//!
//! ```text
//! Splits a message into OpenPGP packets
//!
//! USAGE:
-//! sq split [OPTIONS] [FILE]
+//! sq packet split [OPTIONS] [FILE]
//!
//! FLAGS:
//! -h, --help Prints help information