Skip to content

Commit

Permalink
Merge pull request #1049 from axelson/fix-docs-for-priority
Browse files Browse the repository at this point in the history
Fix docs for priority
  • Loading branch information
rrrene authored Jul 25, 2023
2 parents d949a6a + e3f2c21 commit 1b0f622
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion guides/commands/suggest_command.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Alias for [`--ignore-checks`](#ignore-checks-aliased-as-ignore)

### `--min-priority`

Minimum priority to show issues (high,medium,normal,low,lower or number)
Minimum priority to show issues (higher,high,normal,low,ignore or number)

```bash
$ mix credo --min-priority high
Expand Down
2 changes: 1 addition & 1 deletion guides/configuration/cli_switches.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ Suggest options:
--format Display the list in a specific format (json,flycheck,oneline)
-i, --ignore-checks Ignore checks that match the given strings
--ignore Alias for --ignore-checks
--min-priority Minimum priority to show issues (high,medium,normal,low,lower or number)
--min-priority Minimum priority to show issues (higher,high,normal,low,ignore or number)
--mute-exit-status Exit with status zero even if there are issues
--only Alias for --checks
--strict Alias for --all-priorities
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/cli/command/diff/diff_output.ex
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ defmodule Credo.CLI.Command.Diff.DiffOutput do
--from-git-merge-base Diff from where the current HEAD branched off from the given merge base
-i, --ignore-checks Ignore checks that match the given strings
--ignore Alias for --ignore-checks
--min-priority Minimum priority to show issues (high,medium,normal,low,lower or number)
--min-priority Minimum priority to show issues (higher,high,normal,low,ignore or number)
--mute-exit-status Exit with status zero even if there are issues
--only Alias for --checks
--since Diff from the given point in time (using Git)
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/cli/command/info/info_output.ex
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ defmodule Credo.CLI.Command.Info.InfoOutput do
--format Display the list in a specific format (json,flycheck,oneline)
-i, --ignore-checks Ignore checks that match the given strings
--ignore Alias for --ignore-checks
--min-priority Minimum priority to show issues (high,medium,normal,low,lower or number)
--min-priority Minimum priority to show issues (higher,high,normal,low,ignore or number)
--only Alias for --checks
--verbose Display more information (e.g. checked files)
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/cli/command/list/list_output.ex
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defmodule Credo.CLI.Command.List.ListOutput do
--format Display the list in a specific format (json,flycheck,oneline)
-i, --ignore-checks Ignore checks that match the given strings
--ignore Alias for --ignore-checks
--min-priority Minimum priority to show issues (high,medium,normal,low,lower or number)
--min-priority Minimum priority to show issues (higher,high,normal,low,ignore or number)
--mute-exit-status Exit with status zero even if there are issues
--only Alias for --checks
--strict Alias for --all-priorities
Expand Down
2 changes: 1 addition & 1 deletion lib/credo/cli/command/suggest/suggest_output.ex
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ defmodule Credo.CLI.Command.Suggest.SuggestOutput do
--format Display the list in a specific format (json,flycheck,oneline)
-i, --ignore-checks Ignore checks that match the given strings
--ignore Alias for --ignore-checks
--min-priority Minimum priority to show issues (high,medium,normal,low,lower or number)
--min-priority Minimum priority to show issues (higher,high,normal,low,ignore or number)
--mute-exit-status Exit with status zero even if there are issues
--only Alias for --checks
--strict Alias for --all-priorities
Expand Down

0 comments on commit 1b0f622

Please sign in to comment.