summaryrefslogtreecommitdiffstats
path: root/sq/src/sq_cli.rs
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-01-06 12:48:14 +0100
committerJustus Winter <justus@sequoia-pgp.org>2021-01-06 12:48:14 +0100
commit9b8733463737a369f970f787271000d19b696a26 (patch)
tree62ff590696f4a9fff805420acfad38f08419465a /sq/src/sq_cli.rs
parentc3eed60467ebb02df55d90eecdc08827b2f485c8 (diff)
sq: Implement 'certring list'.
Diffstat (limited to 'sq/src/sq_cli.rs')
-rw-r--r--sq/src/sq_cli.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/sq/src/sq_cli.rs b/sq/src/sq_cli.rs
index 6e4428ed..e924b8ab 100644
--- a/sq/src/sq_cli.rs
+++ b/sq/src/sq_cli.rs
@@ -531,6 +531,11 @@ pub fn build() -> App<'static, 'static> {
.short("B")
.help("Don't ASCII-armor the certring")))
.subcommand(
+ SubCommand::with_name("list")
+ .about("Lists certs in a certring")
+ .arg(Arg::with_name("input").value_name("FILE")
+ .help("Sets the input file to use")))
+ .subcommand(
SubCommand::with_name("split")
.about("Splits a certring into individual certs")
.arg(Arg::with_name("input").value_name("FILE")