Skip to content

Commit

Permalink
Merge pull request #958 from chengluyu/master
Browse files Browse the repository at this point in the history
Add missing quote in Readme.md
  • Loading branch information
shadowspawn committed May 9, 2019
2 parents 9b6fdae + e7a16da commit 3598303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Expand Up @@ -19,15 +19,15 @@ This is used in the examples in this README for brevity.

```js
const program = require('commander');
program.version('0.0.1);
program.version('0.0.1');
```

For larger programs which may use commander in multiple ways, including unit testing, it is better to create a local Command object to use.

```js
const commander = require('commander');
const program = new commander.Command();
program.version('0.0.1);
program.version('0.0.1');
```


Expand Down

0 comments on commit 3598303

Please sign in to comment.