Hide --without-password from the sq key generate examples.

- The `sq key generate` examples shouldn't include
    `--without-password`, but it is needed for the automated tests.

  - Hide it.
This commit is contained in:
Malte Meiboom 2024-12-03 13:05:58 +01:00 committed by Neal H. Walfield
parent ae0609006c
commit a7cbf56067
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3

View File

@ -268,7 +268,7 @@ Generate a key, and save it on the key store.",
"--name", "Alice",
"--email", "alice@example.org",
],
hide: &[],
hide: &["--without-password"],
}),
Action::Example(Example {
comment: "\
@ -281,7 +281,7 @@ Generate a key, and save it in a file instead of in the key store.",
"--output", "alice-priv.pgp",
"--rev-cert", "alice-priv.rev",
],
hide: &[],
hide: &["--without-password"],
}),
Action::Example(Example {
comment: "\