Skip to content

Commit

Permalink
chore(readme): correct readme, fix #11
Browse files Browse the repository at this point in the history
  • Loading branch information
blindlybright committed Oct 15, 2015
1 parent a0531e6 commit ff1b886
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ Options:
[boolean] [default: false]
--config, -C Path to JSON config file
[string] [default: "/Users/user/.caniuse.json"]
--ascii, -A UTF-8 symbols replacement with ASCII description
[boolean] [default: false]
--help Show help [boolean]
```
Expand Down
10 changes: 5 additions & 5 deletions caniuse.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ argv = require 'yargs'
alias: 'b'
type: 'string'
describe: "Show results for these browsers, comma-separated (#{Object.keys(data.agents)})"
.option 'ascii',
alias: 'A'
type: 'boolean'
default: false
describe: "UTF-8 symbols replacement with ASCII description"
.option 'web',
alias: 'w'
type: 'boolean'
Expand All @@ -74,11 +79,6 @@ argv = require 'yargs'
type: 'string'
default: path.join(osHomedir(), '.caniuse.json')
describe: "Specify a config file with default options"
.option 'ascii',
alias: 'A'
type: 'boolean'
default: false
describe: "UTF symbols replacement with ASCII description"
.config 'config'
.help 'help'
.argv
Expand Down

0 comments on commit ff1b886

Please sign in to comment.