Bug 50835

Summary: prepare-ChangeLog --help doesn't mention --bug shorthand -b
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ddkilzer, eric, joepeck
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
[PATCH] Proposed Change none

Description Joseph Pecoraro 2010-12-10 11:56:50 PST
I thought it was weird that prepare-ChangeLog mentions other shorthands like -o|--option,
but didn't mention -b for --bug; which I know works.

I did a google search and found:
http://perldoc.perl.org/Getopt/Long.html#Case-and-abbreviations

> Case and abbreviations
> ----------------------
> Without additional configuration, GetOptions() will ignore the case of option
> names, and allow the options to be abbreviated to uniqueness.
> 
>     GetOptions ('length|height=f' => \$length, "head" => \$head);
>     
> This call will allow `--l` and `--L` for the length option, but requires at
> least `--hea` and `--hei` for the head and height options.

I figured I'd still update the code and output to match the others.
Comment 1 Joseph Pecoraro 2010-12-10 12:02:42 PST
Created attachment 76231 [details]
[PATCH] Proposed Change

• explicitly adds "b" which seems to be the style of the code
• mentions -b in help
• mentions the <bugid>argument in help
Comment 2 WebKit Commit Bot 2010-12-10 18:03:00 PST
Comment on attachment 76231 [details]
[PATCH] Proposed Change

Clearing flags on attachment: 76231

Committed r73826: <http://trac.webkit.org/changeset/73826>
Comment 3 WebKit Commit Bot 2010-12-10 18:03:05 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Eric Seidel (no email) 2010-12-10 18:08:23 PST
Committed r73827: <http://trac.webkit.org/changeset/73827>