matejak / argbash

Bash argument parsing code generator
Other
1.39k stars 63 forks source link

Disable shellcheck warnings for x-prefix comparison and unreachable code #177

Open sgallagher opened 1 year ago

sgallagher commented 1 year ago

ShellCheck version 0.8.0 returns non-zero for x-prefix comparisons and version 0.9.0 returns non-zero for unreachable code (such as the shift appearing in the generated parse_commandline() function).

This patch just disables these checks.