summaryrefslogtreecommitdiff
path: root/test/lit/help/wasm-shell.test
Commit message (Collapse)AuthorAgeFilesLines
* Add categories to --help text (#4421)Alon Zakai2022-01-051-8/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The general shape of the --help output is now: ======================== wasm-foo Does the foo operation ======================== wasm-foo opts: -------------- --foo-bar .. Tool opts: ---------- .. The options are now in categories, with the more specific ones - most likely to be wanted by the user - first. I think this makes the list a lot less confusing. In particular, in wasm-opt all the opt passes are now in their own category. Also add a script to make it easy to update the help tests.
* Lit tests for tool help messages (#3965)Thomas Lively2021-07-071-0/+17
Add list tests for the help messages of all tools, factoring out common options into shared tests. This is slightly brittle because the text wrapping depends on the length of the longest option, but that brittleness should be worth the benefit of being able to see the actual help text in the tests.