liquidaty / zsv

zsv+lib: tabular data swiss-army knife CLI + world's fastest (simd) CSV parser
MIT License
202 stars 12 forks source link

`zsv sql` returns exit code 0 for missing CLI args #160

Closed iamazeem closed 6 months ago

iamazeem commented 6 months ago

Environment

Description

Unlike stack, compare and other similar commands that return exit code 1 after printing their help text, sql command does not:

$ zsv stack > /dev/null; echo $?
1

$ zsv compare > /dev/null; echo $?
1

$ zsv sql > /dev/null; echo $?
0
liquidaty commented 6 months ago

164