Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implements combined short boolean values #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xxxserxxx
Copy link

Addresses part of #1: implements combined shorts. Caveats:

These are equivalent:

-a -b -c
-abc
-bca

The equals assignment must be stand alone. While these are equivalent:

-a -B=foo
-a -B foo
-aB foo

these are not:

-aB=foo

Also, the old behavior was that parameters which took arguments, for which arguments were not supplied, were not errors; therefore, both of these were valid within the same program:

-a -b -C=xyz
-a -b -C

In the latter, C was given no value, and it was as if it was not provided on the command line. This is probably a bug, or behavior that should be different... however, I did not change it. Therefore:

-a -b -C=xyz
-a -b -C
-abC
-aCb

The last three are identical, and the same as the old behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant