Closed xyproto closed 6 years ago
All options are like this – they only affect subsequent files. I should probably put this in the help text.
It is semi-intentional – I'm not against it. This way, you can for example --check
one set of files and --syntax-suggest
another (in a single invocation).
shellharden --check test.sh
works one way, whileshellharden test.sh --check
has a different behavior.Please close if this is intentional.