You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I propose fixing this by enforcing the convention that single-character booleans, when passed, will always give a true value. Unfortunately, there is no good way to negate them, but this can be handled in code by following the convention that boolean values should always default to false, requiring them to be passed as flags to enable them.
Test program here:
With:
Output (as expected):
With:
Output (unexpected):
If it's not obvious from the above output, the part that is unexpected is the output of
foo-test.sh -f
The text was updated successfully, but these errors were encountered: