Skip to content

Commit 77bb580

Browse files
authoredMar 2, 2019
Update Readme.md
remove the white space otherwise run `-m xxx` the `program.myarg` would be `undefined`
1 parent 68545af commit 77bb580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎Readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ else console.log(' without sauce');
6767

6868
To get string arguments from options you will need to use angle brackets <> for required inputs or square brackets [] for optional inputs.
6969

70-
e.g. ```.option(' -m --myarg [myVar]', 'my super cool description')```
70+
e.g. ```.option('-m --myarg [myVar]', 'my super cool description')```
7171

7272
Then to access the input if it was passed in.
7373

0 commit comments

Comments
 (0)
Please sign in to comment.