aboutsummaryrefslogtreecommitdiff
path: root/clap/examples/19_auto_authors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'clap/examples/19_auto_authors.rs')
-rw-r--r--clap/examples/19_auto_authors.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/clap/examples/19_auto_authors.rs b/clap/examples/19_auto_authors.rs
deleted file mode 100644
index afbb985..0000000
--- a/clap/examples/19_auto_authors.rs
+++ /dev/null
@@ -1,15 +0,0 @@
-#[macro_use]
-extern crate clap;
-
-use clap::App;
-
-fn main() {
- App::new("myapp")
- .about("does awesome things")
- // use crate_authors! to pull the author(s) names from the Cargo.toml
- .author(crate_authors!())
- .get_matches();
-
- // running this app with -h will display whatever author(s) are in your
- // Cargo.toml
-}