Rename sq packet split --prefix to --output-prefix.

- To make it easier to recognize that `--prefix` is a variant of
    `--output`, rename it to `--output-prefix`.
This commit is contained in:
Neal H. Walfield 2024-11-19 14:45:07 +01:00
parent 2819efd1cf
commit f9ea97c1dd
No known key found for this signature in database
GPG Key ID: 6863C9AD5B4D22D3
2 changed files with 7 additions and 5 deletions

2
NEWS
View File

@ -106,6 +106,8 @@
- The command `sq toolbox extract-cert` has been removed in favor
of `sq key delete` and `sq key subkey delete`.
- The command `sq packet split` now writes to stdout by default.
- The argument `sq packets split --prefix` is now called
`--output-prefix`.
* Changes in 0.39.0
** Notable changes

View File

@ -255,8 +255,8 @@ armored blocks. It is possible to edit this file directly (e.g., \
moving, adding, or removing packets), and then use `sq packet \
join` to assemble the stream.
Alternatively, if a `--prefix` is given, the packets are written into \
individual files starting with the prefix, and can be reassembled \
Alternatively, if a `--output-prefix` is given, the packets are written \
into individual files starting with the prefix, and can be reassembled \
with `sq packet join`.
The converse operation is `sq packet join`.
@ -286,7 +286,7 @@ pub struct SplitCommand {
pub binary: bool,
#[clap(
long = "prefix",
long = "output-prefix",
value_name = "PREFIX",
help = "Write packets to files starting with PREFIX",
help = "\
@ -318,7 +318,7 @@ Split a inline-signed message into individual packets written to \
individual files with the prefix 'packet'.",
command: &[
"sq", "packet", "split",
"--prefix", "packet",
"--output-prefix", "packet",
"document.pgp",
],
}),
@ -386,7 +386,7 @@ Split a inline-signed message into individual packets written to \
individual files with the prefix 'packet'.",
command: &[
"sq", "packet", "split",
"--prefix", "packet",
"--output-prefix", "packet",
"document.pgp",
],
}),