From 64d98f8ee037282c35007b64c2649055c56af1db Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:03 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- vendor/clap/src/bin/stdio-fixture.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 vendor/clap/src/bin/stdio-fixture.rs (limited to 'vendor/clap/src/bin/stdio-fixture.rs') diff --git a/vendor/clap/src/bin/stdio-fixture.rs b/vendor/clap/src/bin/stdio-fixture.rs new file mode 100644 index 000000000..3a60d1338 --- /dev/null +++ b/vendor/clap/src/bin/stdio-fixture.rs @@ -0,0 +1,15 @@ +fn main() { + let cmd = clap::Command::new("stdio-fixture") + .version("1.0") + .long_version("1.0 - a2132c") + .arg_required_else_help(true) + .subcommand(clap::Command::new("more")) + .arg( + clap::Arg::new("verbose") + .long("verbose") + .help("log") + .action(clap::ArgAction::SetTrue) + .long_help("more log"), + ); + cmd.get_matches(); +} -- cgit v1.2.3