summaryrefslogtreecommitdiffstats
path: root/vendor/clap-3.2.20/examples/demo.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/clap-3.2.20/examples/demo.md')
-rw-r--r--vendor/clap-3.2.20/examples/demo.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/vendor/clap-3.2.20/examples/demo.md b/vendor/clap-3.2.20/examples/demo.md
new file mode 100644
index 000000000..93ee49c37
--- /dev/null
+++ b/vendor/clap-3.2.20/examples/demo.md
@@ -0,0 +1,19 @@
+```console
+$ demo --help
+clap [..]
+A simple to use, efficient, and full-featured Command Line Argument Parser
+
+USAGE:
+ demo[EXE] [OPTIONS] --name <NAME>
+
+OPTIONS:
+ -c, --count <COUNT> Number of times to greet [default: 1]
+ -h, --help Print help information
+ -n, --name <NAME> Name of the person to greet
+ -V, --version Print version information
+
+$ demo --name Me
+Hello Me!
+
+```
+*(version number and `.exe` extension on windows replaced by placeholders)*