Command line service needs to store and provide access to context sensitive help



Core Graveyard
Cmd-line Features
16 years ago
9 years ago


(Reporter: Brian 'netdragon' Bober, Unassigned)


Dependency tree / graph

Firefox Tracking Flags

(Not tracked)





16 years ago
The command line service needs to store more information for use in -help and 
make it all dynamically accessible.

For an example, see CVS. 

If we want people to use Mozilla as a framework for their apps, there needs to 
be an way for components to register command line options better so as to 
remove dependancies (bug 56654?). This bug is about allowing them also to 
place more context-sensitive help for their commands when they register them.

When you display mozilla -help, it should show only a portion of this 
information. When you display mozilla -help [arg1] [arg2..], it should 
examples, etc of what you can do on different platforms, etc.

For instance, this could also be hooked up to create a web page like the one 
in bug 60085  - attachment 108857 [details], but dynamic so that people can view the 
help without it being out of date (bug 184788).

Yet, this bug is about the actual storage and access functions for this data, 
not how it will be displayed in the shell prompt or web page.

I believe that the available commands should be stored within a tree, with the 
top level being the commands, and the lower level being the various arguments.


16 years ago
Blocks: 184790


12 years ago
Assignee: law → nobody
QA Contact: bugzilla

Comment 1

10 years ago
I don't want to support more than a single level of help (and really, I'm rethinking even that position, and might ask apps to implement help themself).
Last Resolved: 10 years ago
Resolution: --- → WONTFIX


9 years ago
Component: Cmd-line Features → Cmd-line Features
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.