diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2019-09-02 15:40:46 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2019-09-02 15:40:46 +0200 |
commit | 1cef3a13b4f96fbd02ed7914ff145f112d33355d (patch) | |
tree | ad3abf930667d987a927843ff9e5b0beb35e96ad /tool/src/sq_cli.rs | |
parent | 50139c3f7d31aa8207688ef62aa2224d6c0de4de (diff) |
tool: Implement compression and padding.
Diffstat (limited to 'tool/src/sq_cli.rs')
-rw-r--r-- | tool/src/sq_cli.rs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs index 6042efcb..feb9d755 100644 --- a/tool/src/sq_cli.rs +++ b/tool/src/sq_cli.rs @@ -111,7 +111,15 @@ pub fn build() -> App<'static, 'static> { .short("s") .multiple(true) .help("Encrypt with a password \ - (can be given multiple times)"))) + (can be given multiple times)")) + .arg(Arg::with_name("compression") + .value_name("KIND") + .long("compression") + .possible_values(&["none", "pad", "zip", "zlib", + "bzip2"]) + .default_value("pad") + .help("Selects compression scheme to use"))) + .subcommand(SubCommand::with_name("sign") .display_order(25) .about("Signs a message") |