Skip to content

Commit

Permalink
Merge pull request #8 from pmcelhaney/config-docs
Browse files Browse the repository at this point in the history
Adds details on using the config file to the readme.
  • Loading branch information
sgentle committed Aug 4, 2015
2 parents aa613ee + f067a33 commit 882395b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,4 +98,23 @@ Options:
--config, -C Path to JSON config file
[string] [default: "/Users/user/.caniuse.json"]
--help Show help [boolean]
```


Woah, that's a lot of options! Can haz config file?
---------------------------------------------------

Yes! You can specify your own defaults by creating a file called `.caniuse.json`
and putting it in your home directory.

For example, if you're primarily interested in mobile browsers two versions back:

```
{
"era": "e-2",
"mobile": true,
"desktop": false
}
```

0 comments on commit 882395b

Please sign in to comment.