sstephenson / bats

Bash Automated Testing System
MIT License
7.12k stars 519 forks source link

no real error message for bad command line option #245

Open ORESoftware opened 6 years ago

ORESoftware commented 6 years ago

this is what I get:

$ bats test/src/dev/bats/a.test.sh --tap-json
Bats 0.4.0
Usage: bats [-c] [-p | -t] <test> [<test> ...]

this is what I should get:

$ bats test/src/dev/bats/a.test.sh --tap-json
Bats 0.4.0
Bad command line option "--tap-json"
Usage: bats [-c] [-p | -t] <test> [<test> ...]

let's make it easy for people to use software eh :) not everything needs to be a struggle

the1mills commented 6 years ago

+1

qneill commented 6 years ago

Thanks @xmik I restart my pull request there.