Bug 50835 - prepare-ChangeLog --help doesn't mention --bug shorthand -b
Summary: prepare-ChangeLog --help doesn't mention --bug shorthand -b
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-10 11:56 PST by Joseph Pecoraro
Modified: 2010-12-10 18:08 PST (History)
4 users (show)

See Also:


Attachments
[PATCH] Proposed Change (2.05 KB, patch)
2010-12-10 12:02 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>