From 8cadded9f0f7e9e2ede240ccf4a91d4b6b4748d0 Mon Sep 17 00:00:00 2001 From: Heiko Schaefer Date: Thu, 8 Sep 2022 19:30:05 +0200 Subject: [PATCH] opgpcard: rename parameter "user-id" to "userid" to match sq --- tools/README.md | 4 ++-- tools/src/bin/opgpcard/cli.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/README.md b/tools/README.md index 355d1a2..9b16b45 100644 --- a/tools/README.md +++ b/tools/README.md @@ -185,7 +185,7 @@ In the process of exporting the key material on a card as a certificate (public bound to the certificate: ``` -$ opgpcard pubkey -p --user-id "Alice Adams " +$ opgpcard pubkey -p --userid "Alice Adams " ``` @@ -466,7 +466,7 @@ x3z8hDoRKAU= In the context of generating key material, one or more User IDs can be bound to the exported certificate: ``` -$ opgpcard admin --card ABCD:01234567 generate --user-id "Alice Adams " --output 25519 +$ opgpcard admin --card ABCD:01234567 generate --userid "Alice Adams " --output 25519 ``` diff --git a/tools/src/bin/opgpcard/cli.rs b/tools/src/bin/opgpcard/cli.rs index 5a5f3ee..df53ea2 100644 --- a/tools/src/bin/opgpcard/cli.rs +++ b/tools/src/bin/opgpcard/cli.rs @@ -56,7 +56,7 @@ pub enum Command { user_pin: Option, /// User ID to add to the exported certificate representation - #[clap(name = "User ID", short = 'u', long = "user-id")] + #[clap(name = "User ID", short = 'u', long = "userid")] user_id: Vec, }, @@ -181,7 +181,7 @@ pub enum AdminCommand { algo: Option, /// User ID to add to the exported certificate representation - #[clap(name = "User ID", short = 'u', long = "user-id")] + #[clap(name = "User ID", short = 'u', long = "userid")] user_id: Vec, },