From d6c676ba915016bdc9f1777dece973cc94cf67e8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 19 Jul 2020 18:27:58 +0300 Subject: [PATCH] added basic doc to readme... Signed-off-by: Alex A. Naanou --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1029615..2e88f5a 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,11 @@ Option definitions in a bit more detail XXX make this a set of practical options and leave the attr explanation to later... ```javascript var parser = argv.Parser({ - // XXX config... + // doc sections... + doc: 'Example script options', + author: 'John Smith ', + footer: 'Written by $AUTHOR ($VERSION / $LICENSE).', + license: 'BSD-3-Clause', // alias, this tells the parser that '-b' is the same as '-basic' '-b': '-basic',