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, },