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

[BUG] Application accepts invalid flags #21

Open
bershanskiy opened this issue Jan 21, 2023 · 0 comments
Open

[BUG] Application accepts invalid flags #21

bershanskiy opened this issue Jan 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@bershanskiy
Copy link

Describe the bug
Application accepts invalid commands with nonexistent flags.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the website
  2. Enter git commit -ainvalid
  3. 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):

  • OS: Ubuntu
  • Browser Chrmium
  • Version 109

Additional context
Found this website when looking into darkreader/darkreader#10657

@bershanskiy bershanskiy added the bug Something isn't working label Jan 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant