Bug#985003: shellcheck: –list-optional: openBinaryFile: does not exist (No such file or directory)
Thorsten Glaser
tg at mirbsd.de
Thu Mar 11 19:54:40 GMT 2021
Package: shellcheck
Version: 0.7.1-1
Severity: important
X-Debbugs-Cc: tg at mirbsd.de
$ shellcheck –list-optional
–list-optional: –list-optional: openBinaryFile: does not exist (No such file or directory)
This was copy/paste from the manual page:
–list-optional
Output a list of known optional checks. These can be enabled
with -o flags or enable directives.
Incidentally, the leading dash is U+2013, not a hyphen-minus.
Typing this myself doesn’t make it work though…
$ shellcheck -list-optional
unrecognized option `-l'
Usage: shellcheck [OPTIONS...] FILES...
-a --check-sourced Include warnings from sourced files
-C[WHEN] --color[=WHEN] Use color (auto, always, never)
-i CODE1,CODE2.. --include=CODE1,CODE2.. Consider only given types of warnings
-e CODE1,CODE2.. --exclude=CODE1,CODE2.. Exclude types of warnings
-f FORMAT --format=FORMAT Output format (checkstyle, diff, gcc, json, json1, quiet, tty)
--list-optional List checks disabled by default
--norc Don't look for .shellcheckrc files
-o check1,check2.. --enable=check1,check2.. List of optional checks to enable (or 'all')
-P SOURCEPATHS --source-path=SOURCEPATHS Specify path when looking for sourced files ("SCRIPTDIR" for script's dir)
-s SHELLNAME --shell=SHELLNAME Specify dialect (sh, bash, dash, ksh)
-S SEVERITY --severity=SEVERITY Minimum severity of errors to consider (error, warning, info, style)
-V --version Print version information
-W NUM --wiki-link-count=NUM The number of wiki links to show, when applicable
-x --external-sources Allow 'source' outside of FILES
--help Show this usage summary and exit
-- System Information:
Debian Release: bullseye/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'oldstable-updates'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'oldstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 5.10.0-4-amd64 (SMP w/2 CPU threads)
Kernel taint flags: TAINT_WARN
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)
Versions of packages shellcheck depends on:
ii libatomic1 10.2.1-6
ii libc6 2.31-9
ii libffi7 3.3-6
ii libgmp10 2:6.2.1+dfsg-1
shellcheck recommends no packages.
shellcheck suggests no packages.
-- no debconf information
More information about the Pkg-haskell-maintainers
mailing list