Closed
Bug 614343
Opened 14 years ago
Closed 14 years ago
update cfx tool reference to match --help changes
Categories
(Add-on SDK Graveyard :: Documentation, defect)
Add-on SDK Graveyard
Documentation
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b1
People
(Reporter: myk, Assigned: wbamberg)
References
Details
Attachments
(1 file, 1 obsolete file)
357 bytes,
patch
|
avarma
:
review+
|
Details | Diff | Splinter Review |
The cfx tool reference should be updated to match the changes to the cfx tool's --help docs that are described in bug 614130 (also see bug 614128 and bug 614129).
Reporter | ||
Comment 1•14 years ago
|
||
Will: is this something you might be able to take on?
Comment 2•14 years ago
|
||
If Will can't take it on, I should be able to bust it up.
Assignee | ||
Comment 4•14 years ago
|
||
What should we do with --profile-memory and --logfile? There's some discussion in 614128 about them but I'm not sure of the resolution. Moving them both to Internal seems like the right thing to do today.
And does that also means that 614130 should be reworked to make this distinction?
Comment 5•14 years ago
|
||
Yeah, that seems reasonable to me, Will.
Assignee | ||
Comment 6•14 years ago
|
||
Here's an attempted fix via pull request. I managed to make 2 pull requests (59 and 60) that are the same, but not sure how to revoke one of them.
Attachment #493715 -
Flags: review?
Assignee | ||
Updated•14 years ago
|
Attachment #493715 -
Flags: review? → review?(avarma)
Comment 7•14 years ago
|
||
Comment on attachment 493715 [details] [diff] [review]
Fix for bug614343
Hmm, there seem to be a number of changes made by bug 614129 that haven't been addressed here... For instance, --dep-tests was renamed to --dependencies and its shortcut was removed, yet as far as I can tell both changes aren't reflected in the Web documentation for cfx.
Let me know if I'm missing something, though... Definitely looking forward to a time when we don't have to separately maintain two separate versions of the cfx documentation!
Attachment #493715 -
Flags: review?(avarma) → review-
Assignee | ||
Comment 8•14 years ago
|
||
No, you're right, sorry. I had assumed that it was only the supported/experimental/internal changes to be made here, but I'll check all of them against the current output of cfx --help.
Assignee | ||
Comment 9•14 years ago
|
||
I've updated the pull request with another commit containing much more extensive changes.
It should be the same as the description in attachment 493202 [details], except for --logfile and --profile-memory being included, with no short form, and put in the 'Internal' category.
Attachment #493715 -
Attachment is obsolete: true
Attachment #493816 -
Flags: review?(avarma)
Comment 10•14 years ago
|
||
Comment on attachment 493816 [details] [diff] [review]
Updated pull request
This looks great! I mentioned a few nits on the pull request page but I'm also cool with just pulling your branch as-is. Let me know which you prefer!
Attachment #493816 -
Flags: review?(avarma) → review+
Assignee | ||
Comment 11•14 years ago
|
||
Hey Atul
I pushed fixes for most of those nits to that branch, if you could pull it now that would be great.
I didn't make this change:
> isn't -g/--use-config a global option?
...because cfx --help don't list it as a global option, unlike -v and -h. So either we change both or we change neither. I think the substantive question is whether we want to enforce that "-g" precedes the command or not.
> Definitely looking forward to a
> time when we don't have to separately maintain
> two separate versions of the cfx
> documentation!
Absolutely, although other than changing this page to read "Run `cfx --help`" I'm not sure how to achieve that...
It is a bit odd having a page that really just reproduces the command-line help, and it might be better eventually to have a cfx page that references the command-line help but instead of duplicating it, uses it to explain how to do things. Which some of this page already does.
Comment 12•14 years ago
|
||
Thanks, this looks great!
Pushed:
https://github.com/mozilla/addon-sdk/commit/76c62915073623dbd9947f1269a1222ed854c59e
It seems like we might want to list --use-config as a global option in cfx, then--I'm not sure why I didn't do that when I wrote it... odd.
Agreed about having a page that just reproduces the command-line help. Feel free to make the changes you suggested and just push them, I agree that it'd be both more useful and easier to maintain.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•