opgpcard: rename parameter "user-id" to "userid" to match sq

This commit is contained in:
Heiko Schaefer 2022-09-08 19:30:05 +02:00
parent 2ece9734fd
commit 8cadded9f0
No known key found for this signature in database
GPG key ID: 4A849A1904CCBD7D
2 changed files with 4 additions and 4 deletions

View file

@ -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-pin-file> --user-id "Alice Adams <alice@example.org>"
$ opgpcard pubkey -p <user-pin-file> --userid "Alice Adams <alice@example.org>"
```
@ -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 <alice@example.org>" --output <output-cert-file> 25519
$ opgpcard admin --card ABCD:01234567 generate --userid "Alice Adams <alice@example.org>" --output <output-cert-file> 25519
```

View file

@ -56,7 +56,7 @@ pub enum Command {
user_pin: Option<PathBuf>,
/// 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<String>,
},
@ -181,7 +181,7 @@ pub enum AdminCommand {
algo: Option<String>,
/// 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<String>,
},