Skip to content

prohelp 0.3.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 23:00
· 5 commits to main since this release

prohelp 0.3.1

Library fixes that align prohelp with CH-27, CH-28 and CH-29 in the OpenShellOrg CLI help standard.

  • Level values: a level switch's value must be in the declared set: 0-9, low, med, high. A tool can declare a narrower set. medium is now an operand.
  • Usage errors exit 2: interceptHelp returns exit code 2 for an unknown help mode, two help modes, a bad -lang or an unknown topic. The older intercept still compiles.
  • -help/json prints the command tree as JSON.
  • Content refs resolve beside the schema or the executable, never the working directory. The installed binary no longer warns when it runs from another folder.
  • Compatibility topic (CH-28) lists the spellings each shell swallows. There's no ~ fallback.

Details: changelog entry

Binaries

Tool Linux Windows macOS
Preview CLI prohelp-linux prohelp-windows.exe prohelp-macos
Global help help-linux help-windows.exe help-macos

See CHANGELOG.md.

Full Changelog: v0.3.0...v0.3.1