Skip to content

Commit

Permalink
Parse short options in order given
Browse files Browse the repository at this point in the history
Fixes:
* Short options cannot be repeated in the same group:
  e.g., `-nn` fails, but `--null-input --null-input` works
* Short options are processed in an arbitrary fixed order, not the order
  given by the user: e.g., `-hV`, `-Vh`, `-h -V`, and `--help --version`
  are processed as `-h`, but `-V -h` and `--version --help` are
  processed as `-V`
* `-L` cannot be a part of a short option group (as the last one):
  e.g., `-nLlib` and `-nL lib` fail
  • Loading branch information
thaliaarchi committed Oct 30, 2024
1 parent 562d5c5 commit 7399bd6
Show file tree
Hide file tree
Showing 2 changed files with 195 additions and 227 deletions.
Loading

0 comments on commit 7399bd6

Please sign in to comment.