Closed Bug 23501 Opened 25 years ago Closed 25 years ago

Support for DOS-style commandline options: -? and "/"

Categories

(Core :: XPCOM, defect, P3)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

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.....".
Component: Browser-General → XPApps
Summary: mozilla -? and "/" instead of "-" should be an option. → Support for DOS-style commandline options: -? and "/"
better summary
Assignee: mcafee → law
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.
Status: NEW → ASSIGNED
Target Milestone: M14
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.
Moving to M15.
Target Milestone: M14 → M15
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
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
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
oops this was my bug, marking verifed fixed
Status: RESOLVED → VERIFIED
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.