Skip to content

Commit c99499b

Browse files
committed
Remove unsupported formats from Diff command help text
Refs #1153 We need a better solution long term. For now, we should not advertise format options that are not viable.
1 parent f7c44d9 commit c99499b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/credo/cli/command/diff/diff_output.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ defmodule Credo.CLI.Command.Diff.DiffOutput do
4141
--enable-disabled-checks Re-enable disabled checks that match the given strings
4242
--files-included Only include these files (accepts globs, can be used multiple times)
4343
--files-excluded Exclude these files (accepts globs, can be used multiple times)
44-
--format Display the list in a specific format (json,flycheck,sarif,oneline)
44+
--format Display the list in a specific format (json)
4545
--from-dir Diff from the given directory
4646
--from-git-ref Diff from the given Git ref
4747
--from-git-merge-base Diff from where the current HEAD branched off from the given merge base

0 commit comments

Comments
 (0)