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
Describe the bug
Application accepts invalid commands with nonexistent flags.
To Reproduce
Steps to reproduce the behavior:
Go to the website
Enter git commit -ainvalid
Observe that the output is as if user entered git commit -a. In other words, (1) program assumes that the flags will not be combined and (2) does not really validate the inputs.
Expected behavior
Application says something like error: unknown switch l'and possibly explains meaning of all other flags,-a, -i, -n, -v`.
Screenshots
N/A
Desktop (please complete the following information):
Describe the bug
Application accepts invalid commands with nonexistent flags.
To Reproduce
Steps to reproduce the behavior:
git commit -ainvalid
git commit -a
. In other words, (1) program assumes that the flags will not be combined and (2) does not really validate the inputs.Expected behavior
Application says something like
error: unknown switch
l'and possibly explains meaning of all other flags,
-a,
-i,
-n,
-v`.Screenshots
N/A
Desktop (please complete the following information):
Additional context
Found this website when looking into darkreader/darkreader#10657
The text was updated successfully, but these errors were encountered: