WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
247342
[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
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-01 16:22:43 PDT
<
rdar://problem/101830556
>
Jonathan Bedard
Comment 2
2022-11-01 16:24:08 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/6014
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.
Top of Page
Format For Printing
XML
Clone This Bug