maandree / argparser

Command line argument parser library, like getopt, except better. [multiple languages: C, Java, Python, Bash]
https://codeberg.org/maandree/argparser
GNU Affero General Public License v3.0
9 stars 5 forks source link

Master options #4

Closed maandree closed 11 years ago

maandree commented 11 years ago

Consider pacman. It has two different -d, under -Q it is -d, --nodeps, but under -S, -R and -U it is -d, --nodeps.

When and option occurs, it should be able to redefine options, either only following or at any position.

When implementing this, some work will be need on the help function.