mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-08-08 14:27:35 +08:00
Fix internal error for --format (fixes #1507)
This commit is contained in:
@@ -340,6 +340,9 @@ parseOption flag options =
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-- This flag is handled specially in 'process'
|
||||||
|
Flag "format" _ -> return options
|
||||||
|
|
||||||
Flag str _ -> do
|
Flag str _ -> do
|
||||||
printErr $ "Internal error for --" ++ str ++ ". Please file a bug :("
|
printErr $ "Internal error for --" ++ str ++ ". Please file a bug :("
|
||||||
return options
|
return options
|
||||||
|
Reference in New Issue
Block a user