Skip to content

Commit

Permalink
doc: fix syntax fencing
Browse files Browse the repository at this point in the history
Also, switched from `bash` to `console` for prettier command-line
interaction.

Credit: @adius
Reviewed-By: @othiym23
  • Loading branch information
othiym23 committed Dec 14, 2016
1 parent ae1fb29 commit fb9b1ce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ var nopt = require("nopt")
// slice defaults to 2
, parsed = nopt(knownOpts, shortHands, process.argv, 2)
console.log(parsed)
```

This would give you support for any of the following:

```bash
```console
$ node my-program.js --foo "blerp" --no-flag
{ "foo" : "blerp", "flag" : false }

Expand Down

0 comments on commit fb9b1ce

Please # to comment.