Make sq download --output mandatory.

- Fixes #438.
This commit is contained in:
Justus Winter 2024-11-14 16:22:57 +01:00
parent 435b127e5f
commit ec80c67e47
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -21,12 +21,13 @@ const EXAMPLES: Actions = Actions {
}),
Action::Example(Example {
comment: "\
Verify the Debian 12 checksum file.",
Download and verify the Debian 12 checksum file.",
command: &[
"sq", "download",
"--url=file://debian/SHA512SUMS",
"--signature=file://debian/SHA512SUMS.sign",
"--signer=DF9B9C49EAA9298432589D76DA87E80D6294BE9B",
"--output=SHA512SUMS",
],
}),
]
@ -87,10 +88,9 @@ inline.
pub signatures: usize,
#[clap(
help = FileOrStdout::HELP_OPTIONAL,
help = FileOrStdout::HELP_REQUIRED,
long,
value_name = FileOrStdout::VALUE_NAME,
default_value = "-",
)]
pub output: FileOrStdout,
}