Closed
Bug 850929
Opened 8 years ago
Closed 8 years ago
GCLI needs a simpler way to mark parameters as being options
Categories
(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)
DevTools Graveyard
Graphic Commandline and Toolbar
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 22
People
(Reporter: jwalker, Assigned: jwalker)
Details
Attachments
(1 file)
6.97 KB,
patch
|
paul
:
review+
|
Details | Diff | Splinter Review |
var tempSpec = { name: 'temp', params: [ { name: 'text', type: 'string', option: true } ], exec: ... }; Is better than var tempSpec = { name: 'temp', params: [ { group: 'Options', params: [ { name: 'text', type: 'string', } ] } ], exec: ... }; option:true gets you the default group name of "Option", or you can specify a custom name with option:"Advanced"
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
The meat of attachment 726541 [details] [diff] [review] in context: https://github.com/joewalker/gcli/blob/91e78eb0886a3753aba5998ab74558c24176ceb1/lib/gcli/canon.js#L118
Updated•8 years ago
|
Attachment #726541 -
Flags: review?(paul) → review+
Assignee | ||
Comment 3•8 years ago
|
||
https://tbpl.mozilla.org/?tree=Try&rev=3e7f38b6ccfc
Assignee | ||
Comment 4•8 years ago
|
||
https://tbpl.mozilla.org/?tree=Fx-Team&rev=f952eebd4cbd https://hg.mozilla.org/integration/fx-team/rev/55bea9d170b7
Whiteboard: [fixed-in-fx-team]
Comment 5•8 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/55bea9d170b7
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 22
Updated•3 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•