Skip to content

Allow combined short options like -rs and -j8 - #13

Merged
kova1max merged 1 commit into
mainfrom
feat/combined-short-flags
Sep 24, 2026
Merged

kova1max merged 1 commit into
mainfrom
feat/combined-short-flags

Conversation

@kova1max

Copy link
Copy Markdown
Owner

Short options can now be bundled, as in most CLIs:

  • -rs is -r -s, -sn is -s -n
  • -j8 and -rj 8 set the number of jobs (-j takes the rest of its bundle, or the next argument)
  • an unknown letter inside a bundle is still rejected (-rx → Unknown option: -x)

Documented in --help and the README usage section. 2 new tests; 48 pass on bash 5 and 3.2.

@kova1max kova1max added the enhancement New feature or request label Sep 24, 2026
@kova1max
kova1max merged commit 830c2ea into main Sep 24, 2026
4 checks passed
@kova1max
kova1max deleted the feat/combined-short-flags branch September 24, 2026 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant