diff options
Diffstat (limited to 'tool/src/sq_cli.rs')
-rw-r--r-- | tool/src/sq_cli.rs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tool/src/sq_cli.rs b/tool/src/sq_cli.rs index 0ff166fe..f477281a 100644 --- a/tool/src/sq_cli.rs +++ b/tool/src/sq_cli.rs @@ -14,11 +14,11 @@ pub fn build() -> App<'static, 'static> { .arg(Arg::with_name("home").value_name("DIRECTORY") .long("home") .help("Sets the home directory to use")) - .arg(Arg::with_name("store").value_name("STORE") - .long("store") - .short("s") + .arg(Arg::with_name("mapping").value_name("MAPPING") + .long("mapping") + .short("m") .default_value("org.sequoia-pgp.contacts/default") - .help("Sets the realm and store to use")) + .help("Sets the realm and mapping to use")) .arg(Arg::with_name("policy").value_name("NETWORK-POLICY") .long("policy") .short("p") @@ -284,12 +284,12 @@ pub fn build() -> App<'static, 'static> { .about("Sends a key") .arg(Arg::with_name("input").value_name("FILE") .help("Sets the input file to use")))) - .subcommand(SubCommand::with_name("store") + .subcommand(SubCommand::with_name("mapping") .display_order(30) - .about("Interacts with key stores") + .about("Interacts with key mappings") .setting(AppSettings::SubcommandRequiredElseHelp) .subcommand(SubCommand::with_name("list") - .about("Lists keys in the store")) + .about("Lists keys in the mapping")) .subcommand(SubCommand::with_name("add") .about("Add a key identified by fingerprint") .arg(Arg::with_name("label").value_name("LABEL") @@ -319,10 +319,10 @@ pub fn build() -> App<'static, 'static> { .short("B") .help("Don't ASCII-armor encode the OpenPGP data"))) .subcommand(SubCommand::with_name("delete") - .about("Deletes bindings or stores") - .arg(Arg::with_name("the-store") - .long("the-store") - .help("Delete the selected store (change with --store)")) + .about("Deletes bindings or mappings") + .arg(Arg::with_name("the-mapping") + .long("the-mapping") + .help("Delete the selected mapping (change with --mapping)")) .arg(Arg::with_name("label") .value_name("LABEL") .help("Delete binding with this label"))) @@ -337,16 +337,16 @@ pub fn build() -> App<'static, 'static> { .value_name("LABEL") .help("List messages related to this label")))) .subcommand(SubCommand::with_name("list") - .about("Lists key stores and known keys") + .about("Lists key mappings and known keys") .setting(AppSettings::SubcommandRequiredElseHelp) - .subcommand(SubCommand::with_name("stores") - .about("Lists key stores") + .subcommand(SubCommand::with_name("mappings") + .about("Lists key mappings") .arg(Arg::with_name("prefix").value_name("PREFIX") - .help("List only stores with the given realm prefix"))) + .help("List only mappings with the given realm prefix"))) .subcommand(SubCommand::with_name("bindings") - .about("Lists all bindings in all key stores") + .about("Lists all bindings in all key mappings") .arg(Arg::with_name("prefix").value_name("PREFIX") - .help("List only bindings from stores with the given realm prefix"))) + .help("List only bindings from mappings with the given realm prefix"))) .subcommand(SubCommand::with_name("keys") .about("Lists all keys in the common key pool")) .subcommand(SubCommand::with_name("log") |