diff options
Diffstat (limited to 'vendor/clap/examples/tutorial_builder/03_02_option.rs')
-rw-r--r-- | vendor/clap/examples/tutorial_builder/03_02_option.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/vendor/clap/examples/tutorial_builder/03_02_option.rs b/vendor/clap/examples/tutorial_builder/03_02_option.rs deleted file mode 100644 index e9ba3e4..0000000 --- a/vendor/clap/examples/tutorial_builder/03_02_option.rs +++ /dev/null @@ -1,9 +0,0 @@ -use clap::{command, Arg}; - -fn main() { - let matches = command!() // requires `cargo` feature - .arg(Arg::new("name").short('n').long("name")) - .get_matches(); - - println!("name: {:?}", matches.get_one::<String>("name")); -} |