Skip to content

Commit

Permalink
Merge pull request #298 from joshuapinter/patch-2
Browse files Browse the repository at this point in the history
Format cache options in code backticks.
  • Loading branch information
etiennebarrie authored Jan 3, 2023
2 parents ca0b793 + 711ae9e commit beb96d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ app/views/users/_graph.html.erb:27:37: Extra space detected where there should b

## Caching

The cache is currently opt-in - to turn it on, use the --cache option:
The cache is currently opt-in - to turn it on, use the `--cache` option:

```sh
erblint --cache ./app
Expand All @@ -630,7 +630,7 @@ via the `--cache-dir` option. Cache filenames are computed with a hash of inform
These files store instance attributes of the `CachedOffense` object, which only contain the `Offense` attributes
necessary to restore the results of running `erb-lint` for output. The cache also automatically prunes outdated files each time it's run.

You can also use the --clear-cache option to delete the cache file directory.
You can also use the `--clear-cache` option to delete the cache file directory.

## License

Expand Down

0 comments on commit beb96d5

Please sign in to comment.