A small patch release with two fixes for the generated zsh completion init and CLI help rendering.
Fixed
-
zsh: preserve options for default completion (#693 by @jdx, fixes #692). The
_usage_default_completehandler emitted byusage generate completion-init zshcalledemulate -L zsh, which reset shell options before falling back to_filesfor non-usage commands. Withnomatchre-enabled, zsh treated internal tags like*:globbed-filesas real globs, producing errors such asno matches found: *:globbed-fileswhen completing things likeemacs <TAB>. The generated init now runssetopt localoptions nonomatch extendedglobimmediately afteremulate -L zsh, so the_filesfallback sees the option state it expects. Re-runusage generate completion-init zshand reload your shell to pick up the fix. -
docs: show negated flags in CLI help (#694 by @jdx). Boolean flags declared with a
negatealias previously rendered only the positive form inusageCLI help output. They now render as--flag / --no-flagin both short and long help, and the help column width is calculated from the displayed usage so descriptions stay aligned:Flags: --compress / --no-compress Compress output --verbose Verbose output
Full Changelog: v3.5.2...v3.5.3
💚 Sponsor usage
usage is built by @jdx at en.dev — an independent developer-tooling studio behind mise, aube, hk, and more. Work on usage is funded by sponsorships.
If usage powers CLI specs, docs, or completions for a tool you maintain or use, please consider sponsoring at en.dev. Every sponsorship helps the project stay independent and moving.