summaryrefslogtreecommitdiffstats
path: root/vendor/clap-3.2.20/examples/tutorial_builder/03_02_option.rs
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap-3.2.20/examples/tutorial_builder/03_02_option.rs')
-rw-r--r--vendor/clap-3.2.20/examples/tutorial_builder/03_02_option.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/vendor/clap-3.2.20/examples/tutorial_builder/03_02_option.rs b/vendor/clap-3.2.20/examples/tutorial_builder/03_02_option.rs
deleted file mode 100644
index 188244566..000000000
--- a/vendor/clap-3.2.20/examples/tutorial_builder/03_02_option.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-use clap::{arg, command};
-
-fn main() {
- let matches = command!() // requires `cargo` feature
- .arg(arg!(-n --name <NAME>).required(false))
- .get_matches();
-
- println!("name: {:?}", matches.get_one::<String>("name"));
-}