opgpcard: rename parameter "user-id" to "userid" to match sq
This commit is contained in:
parent
2ece9734fd
commit
8cadded9f0
2 changed files with 4 additions and 4 deletions
|
@ -185,7 +185,7 @@ In the process of exporting the key material on a card as a certificate (public
|
||||||
bound to the certificate:
|
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:
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,7 @@ pub enum Command {
|
||||||
user_pin: Option<PathBuf>,
|
user_pin: Option<PathBuf>,
|
||||||
|
|
||||||
/// User ID to add to the exported certificate representation
|
/// 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>,
|
user_id: Vec<String>,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ pub enum AdminCommand {
|
||||||
algo: Option<String>,
|
algo: Option<String>,
|
||||||
|
|
||||||
/// User ID to add to the exported certificate representation
|
/// 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>,
|
user_id: Vec<String>,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue