Skip to content

Commit

Permalink
Update option description
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Jul 10, 2022
1 parent 00da018 commit 24c9294
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/cli/constant.js
Expand Up @@ -77,7 +77,7 @@ const options = {
type: "boolean",
},
"cache-location": {
description: "Path to the cache file or directory",
description: "Path to the cache file.",
type: "path",
},
"cache-strategy": {
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/__tests__/__snapshots__/early-exit.js.snap
Expand Up @@ -141,7 +141,7 @@ Other options:
--cache Only format changed files. Cannot use with --stdin-filepath.
Defaults to false.
--cache-location <path> Path to the cache file or directory
--cache-location <path> Path to the cache file.
--cache-strategy <metadata|content>
Strategy for the cache to use for detecting changed files.
--no-color Do not colorize error messages.
Expand Down Expand Up @@ -316,7 +316,7 @@ Other options:
--cache Only format changed files. Cannot use with --stdin-filepath.
Defaults to false.
--cache-location <path> Path to the cache file or directory
--cache-location <path> Path to the cache file.
--cache-strategy <metadata|content>
Strategy for the cache to use for detecting changed files.
--no-color Do not colorize error messages.
Expand Down
Expand Up @@ -62,7 +62,7 @@ exports[`show detailed usage with --help cache-location (stderr) 1`] = `""`;
exports[`show detailed usage with --help cache-location (stdout) 1`] = `
"--cache-location <path>
Path to the cache file or directory
Path to the cache file.
"
`;
Expand Down

0 comments on commit 24c9294

Please sign in to comment.