feat(cli): answer --help with the option list #114
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/help-flag"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
zelnet --helpprintedzelnet: unknown flag '--help'to stderr and exited 1. That is the first thing a person types after they install the package, and nothing in the repository mentioned a help flag.--helpand-hnow print the option list on stdout and exit 0, so a shell can pipe it. An unknown flag keeps its loud stderr failure, which0.10.2deliberately added.--versionstill prints the build banner, which reports the protocol tables rather than the options.build.zigruns the real executable for both flags and asserts the usage line on stdout with an empty stderr, the same contract--versionhas had sincev0.10.4. Verified red before the change: both runs failed, with all 1015 unit tests passing.The README OPTIONS table also gains the
--ccsidrow. The terminal has always accepted--ccsid, and it was described only in prose far below while every other flag was listed.make cipasses: format check, unit tests, ReleaseSafe tests and the Binjovi package-entry contract.https://claude.ai/code/session_01XdBRc9CHgFhAxCyHbdVtt6