RESOLVED FIXED247342
[git-webkit] Print help when multiple unknown arguments are provided
https://bugs.webkit.org/show_bug.cgi?id=247342
Summary [git-webkit] Print help when multiple unknown arguments are provided
Jonathan Bedard
Reported 2022-11-01 16:21:02 PDT
In some commands, git-webkit forwards unknown arguments on to git itself. This means that argparse doesn't always recognize that a command is invalid because it will, in some cases, just return unknown arguments to be forwarded. Notably, this is the case for `git-webkit -pr --rebase`. If the user's arguments don't result in a program definition, we should print the help message and exit the program.
Attachments
Radar WebKit Bug Importer
Comment 1 2022-11-01 16:22:43 PDT
Jonathan Bedard
Comment 2 2022-11-01 16:24:08 PDT
EWS
Comment 3 2022-11-09 18:05:45 PST
Committed 256516@main (68e00a092301): <https://commits.webkit.org/256516@main> Reviewed commits have been landed. Closing PR #6014 and removing active labels.
EWS
Comment 4 2022-11-16 09:15:08 PST
Committed 252432.829@safari-7614-branch (7cf9c2004005): <https://commits.webkit.org/252432.829@safari-7614-branch> Reviewed commits have been landed. Closing PR #207 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.