hlint
hlint copied to clipboard
`hlint --git` prints help text when no Haskell files present
When you run hlint --git in a directory which doesn't contain any Haskell files, the help text is printed.
Doh, I think that's a case of the command line interpretation happening at the wrong level.
I believe this is no longer the case at least with version 3.6.1:
❯ hlint --git
Schwerwiegend: Kein Git-Repository (oder irgendeines der Elternverzeichnisse): .git
hlint: readCreateProcess: /home/turion/.nix-profile/bin/git "ls-files" "--cached" "--others" "--exclude-standard" "*.hs" "*.lhs" (exit 128): failed