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