aboutsummaryrefslogtreecommitdiff
path: root/3.2.23/examples/demo.md
diff options
context:
space:
mode:
Diffstat (limited to '3.2.23/examples/demo.md')
-rw-r--r--3.2.23/examples/demo.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/3.2.23/examples/demo.md b/3.2.23/examples/demo.md
new file mode 100644
index 0000000..93ee49c
--- /dev/null
+++ b/3.2.23/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)*