Skip to content

Commit

Permalink
Update quotes in examples to match new behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowspawn committed Jun 23, 2019
1 parent e717283 commit 8f8881b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ $ pizza-options -d
{ debug: true, small: undefined, pizzaType: undefined }
pizza details:
$ pizza-options -p
error: option `-p, --pizza-type <type>' argument missing
error: option '-p, --pizza-type <type>' argument missing
$ pizza-options -ds -p vegetarian
{ debug: true, small: true, pizzaType: 'vegetarian' }
pizza details:
Expand Down Expand Up @@ -117,7 +117,7 @@ else console.log('you ordered a pizza without sauce');
$ pizza-options
you ordered a pizza with sauce
$ pizza-options --sauce
error: unknown option `--sauce'
error: unknown option '--sauce'
$ pizza-options --no-sauce
you ordered a pizza without sauce
```
Expand Down
4 changes: 2 additions & 2 deletions Readme_zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $ pizza-options -d
{ debug: true, small: undefined, pizzaType: undefined }
pizza details:
$ pizza-options -p
error: option `-p, --pizza-type <type>' argument missing
error: option '-p, --pizza-type <type>' argument missing
$ pizza-options -ds -p vegetarian
{ debug: true, small: true, pizzaType: 'vegetarian' }
pizza details:
Expand Down Expand Up @@ -115,7 +115,7 @@ else console.log('you ordered a pizza without sauce');
$ pizza-options
you ordered a pizza with sauce
$ pizza-options --sauce
error: unknown option `--sauce'
error: unknown '--sauce'
$ pizza-options --no-sauce
you ordered a pizza without sauce
```
Expand Down
2 changes: 1 addition & 1 deletion examples/options-common.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// { debug: true, small: undefined, pizzaType: undefined }
// pizza details:
// $ pizza-options -p
// error: option `-p, --pizza-type <type>' argument missing
// error: option '-p, --pizza-type <type>' argument missing
// $ pizza-options -ds -p vegetarian
// { debug: true, small: true, pizzaType: 'vegetarian' }
// pizza details:
Expand Down
2 changes: 1 addition & 1 deletion examples/options-negatable.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// $ pizza-options
// you ordered a pizza with sauce
// $ pizza-options --sauce
// error: unknown option `--sauce'
// error: unknown option '--sauce'
// $ pizza-options --no-sauce
// you ordered a pizza without sauce

Expand Down

0 comments on commit 8f8881b

Please sign in to comment.