You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ man shellcheck | grep '–'
-a, –check-sourced
-C[WHEN], –color[=WHEN]
For TTY output, enable colors always, never or auto. The default is auto. –color without an argument
is equivalent to –color=always.
-e CODE1[,CODE2...], –exclude=CODE1[,CODE2...]
-f FORMAT, –format=FORMAT
-s shell, –shell=shell
-V, –version
-x, –external-sources
Here's what shellcheck currently says:
The long options shown above are prefixed with – (en dash). If I copy one of those options verbatim it's treated as a file:
$ shellcheck –check-sourced *.sh
–check-sourced: –check-sourced: openBinaryFile: does not exist (No such file or directory)
Here's what I wanted or expected to see:
All the long options should be prefixed with -- (two hyphens).
The text was updated successfully, but these errors were encountered:
ngzhian
added a commit
to ngzhian/shellcheck
that referenced
this issue
Nov 22, 2018
For bugs
Here's a snippet that shows the problem:
Here's what shellcheck currently says:
The long options shown above are prefixed with
–
(en dash). If I copy one of those options verbatim it's treated as a file:$ shellcheck –check-sourced *.sh –check-sourced: –check-sourced: openBinaryFile: does not exist (No such file or directory)
Here's what I wanted or expected to see:
All the long options should be prefixed with
--
(two hyphens).The text was updated successfully, but these errors were encountered: