[Pkg-javascript-commits] [node-dargs] 11/54: readme - quote values in example

Bastien Roucariès rouca at moszumanska.debian.org
Wed Sep 6 09:41:02 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-dargs.

commit c431ac93a3f8172475098e27a28812ff15f47a2e
Author: Sindre Sorhus <sindresorhus at gmail.com>
Date:   Tue Aug 26 18:14:25 2014 +0200

    readme - quote values in example
---
 package.json |  4 +++-
 readme.md    | 10 +++++-----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/package.json b/package.json
index c289f10..d876f84 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,9 @@
     "arguments",
     "args",
     "flags",
-    "cli"
+    "cli",
+    "nopt",
+    "minimist"
   ],
   "author": {
     "name": "Sindre Sorhus",
diff --git a/readme.md b/readme.md
index f2bdba4..da486e2 100644
--- a/readme.md
+++ b/readme.md
@@ -32,11 +32,11 @@ console.log(dargs(options, excludes));
 
 /*
 [
-	'--foo=bar',
-	'--hello',
-	'--camel-case=5',
-	'--multiple=value',
-	'--multiple=value2'
+	"--foo='bar'",
+	"--hello",
+	"--camel-case='5'",
+	"--multiple='value'",
+	"--multiple='value2'"
 ]
 */
 ```

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-dargs.git



More information about the Pkg-javascript-commits mailing list