mirror of
https://github.com/koalaman/shellcheck
synced 2025-07-06 04:51:37 -07:00
Fix internal error for --format (fixes #1507)
This commit is contained in:
parent
bbe5155e63
commit
ed92fe501f
1 changed files with 3 additions and 0 deletions
|
@ -340,6 +340,9 @@ parseOption flag options =
|
|||
}
|
||||
}
|
||||
|
||||
-- This flag is handled specially in 'process'
|
||||
Flag "format" _ -> return options
|
||||
|
||||
Flag str _ -> do
|
||||
printErr $ "Internal error for --" ++ str ++ ". Please file a bug :("
|
||||
return options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue