Closed
Bug 23501
Opened 25 years ago
Closed 25 years ago
Support for DOS-style commandline options: -? and "/"
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
VERIFIED
FIXED
M15
People
(Reporter: alan-lists, Assigned: sspitzer)
Details
Mcafee, I put you down in the assigned field as you fixed the last bug in this
area. This is really low priority, but would be nice.
In the MS DOS world I am used to hitting -? or /? to get the help screen in
stead of -h or -help. -? Should be an option.
The other thing MS DOS people do is "/" instead of "-". Can we have "/" or "-"
for all paramaters?
Also if you enter a paramater that is not known what about having message saying
"unknown paramater.....".
Updated•25 years ago
|
Component: Browser-General → XPApps
Summary: mozilla -? and "/" instead of "-" should be an option. → Support for DOS-style commandline options: -? and "/"
Comment 1•25 years ago
|
||
better summary
Updated•25 years ago
|
Assignee: mcafee → law
Comment 2•25 years ago
|
||
Looks like the "-help" strings, etc. are hard-coded
into nsAppRunner.cpp, we would have to abstract the
'-' character somehow. Over to law for a look.
Targeting for M14. A quick and dirty fix shouldn't be too hard. Doing it
properly (including proper localization) might take a bit more work.
Reporter | ||
Comment 5•25 years ago
|
||
Reassigning to sspitzer@netscape.com as requested
I would suggest that win32, unix, ect should all be able to to a "/" instead of
"-" not nost just Win32 for consistancy.
Assignee: law → sspitzer
Status: ASSIGNED → NEW
Component: XPApps → Threading
Assignee | ||
Comment 6•25 years ago
|
||
on linux, / will not work
proof:
mozilla /foo
is that
mozilla with the argument -foo
or
mozilla display the file /foo
this will be windows only.
Status: NEW → ASSIGNED
Assignee | ||
Comment 7•25 years ago
|
||
on windows, mozilla /mail works just like mozilla -mail. /? does the same thing
as /help (and -help)
on linux, /mail is not the same as -mail (see my comments above)
but --mail is == -mail
-V -Version and -VERSION all work now, due to the magic of strcasecmp
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 8•25 years ago
|
||
oops this was my bug, marking verifed fixed
Status: RESOLVED → VERIFIED
Comment 9•22 years ago
|
||
Moving all threading bugs to XPCOM. See bug 160356.
Component: Threading → XPCOM
You need to log in
before you can comment on or make changes to this bug.
Description
•