Closed Bug 853225 Opened 9 years ago Closed 9 years ago

Usage line is wrong for "mach help <command>"

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla22

People

(Reporter: mbrubeck, Assigned: mbrubeck)

References

Details

Attachments

(1 file)

Attached patch patchSplinter Review
When you type "mach help build" or "mach build --help", mach prints:

  usage: mach [global arguments] command [command arguments] build
         [-h] [what [what ...]]

This patch changes it to:

  usage: mach [global arguments] build [-h] [what [what ...]]
Attachment #727428 - Flags: review?(gps)
I guess this is a dupe of bug 799322? But, this one has a patch, so let's preserve it.
Comment on attachment 727428 [details] [diff] [review]
patch

Review of attachment 727428 [details] [diff] [review]:
-----------------------------------------------------------------

Nice! And here I thought we'd have to monkeypatch argparse to get this right.
Attachment #727428 - Flags: review?(gps) → review+
Duplicate of this bug: 799322
https://hg.mozilla.org/mozilla-central/rev/176b8aa6844d
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.