Skip to content

Comments

Implements combined short boolean values#2

Open
xxxserxxx wants to merge 1 commit intothatisuday:masterfrom
xxxserxxx:combinedShorts
Open

Implements combined short boolean values#2
xxxserxxx wants to merge 1 commit intothatisuday:masterfrom
xxxserxxx:combinedShorts

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