ordo-one / package-benchmark

Swift benchmark runner with many performance metrics and great CI support
Apache License 2.0
326 stars 25 forks source link

`--help` doesn't show the help text #268

Closed MahdiBM closed 1 month ago

MahdiBM commented 2 months ago
swift package benchmark --help

Results in:

Build of product 'BenchmarkTool' complete! (15.56s)
Unknown option/flag specfied: ["--help"]
error: invalidArgument
hassila commented 2 months ago

swift package benchmark help will show it - but so should be the case for unknown options/flags... Should be fixed.

MahdiBM commented 2 months ago

I just noticed this doesn't show a help text either:

benchmark run help  

I expect subcommands to also show a help text.

hassila commented 1 month ago

Should be fixed by https://github.com/ordo-one/package-benchmark/pull/284 now, if you can please have a go testing against that (it will be merged fairly soon).

hassila commented 1 month ago

Merged and should be fixed now.