diff options
author | Viet T. Nguyen <vietjtnguyen@gmail.com> | 2017-02-09 22:06:50 -0800 |
---|---|---|
committer | Viet T. Nguyen <vietjtnguyen@gmail.com> | 2017-02-09 22:06:50 -0800 |
commit | 3bc6266334bad0b96b665a07cfb63b772ee72149 (patch) | |
tree | 15a572d1d08a588f3b5e07713b7d88b7a308750f /doc | |
parent | b05c413611102e9eb9c054bd4063df6238664090 (diff) |
Updated expected output in README example
Diffstat (limited to 'doc')
-rw-r--r-- | doc/root.md | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/root.md b/doc/root.md index df67eaa..2491243 100644 --- a/doc/root.md +++ b/doc/root.md @@ -30,8 +30,12 @@ You can check if an option shows up in the command line arguments by accessing t if (args["help"]) { std::cerr << argparser; - // -h, --help - // shows this help message + // -h, --help + // shows this help message + // -d, --delim + // delimiter (default: ,) + // -n, --num + // number return EXIT_SUCCESS; } @@ -43,6 +47,10 @@ That help message is only for the flags. If you want a usage message it's up to // Usage: program [options] ARG1 ARG2 // -h, --help // shows this help message + // -d, --delim + // delimiter (default: ,) + // -n, --num + // number return EXIT_SUCCESS; } |