Skip to content

Commit

Permalink
Parse CLI 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
* Short options are processed in an arbitrary fixed order, not the order
  given by the user: e.g., both `-hV` and `-Vh` are processed as `-h`
* `-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 29, 2024
1 parent 562d5c5 commit 87fb89e
Showing 1 changed file with 173 additions and 227 deletions.
Loading

0 comments on commit 87fb89e

Please sign in to comment.