Closed Bug 46127 Opened 24 years ago Closed 24 years ago

-console option missing from -help listing

Categories

(Core Graveyard :: Cmd-line Features, defect, P3)

x86
Windows 95
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: andre.bugs2)

References

()

Details

(Keywords: helpwanted, platform-parity)

Attachments

(5 files)

summary sez it all. need to add (for win32 and linux builds) a description for
the -console feature (which works, more or less) in the -help output.
Adding "patch" and "review" keywords.
Keywords: patch, review
alecf/mcafee/timeless, any of you care to review this?
I didn't review this because i was having trouble finding out if unix/linux 
even accept -console. Actually I wonder if you meant XP_WIN || XP_OS2.
mkaply: does os/2 support -console? all: does linux?
And then there's mac. Which I think has a console, although i don't know if we 
even offer -help for mac.

When these confusions are cleared I'll review. Sorry for the delayed response.
OS/2 doesn't currently support -console, but we are planning to implement some 
sort of console at a future date.
[s]r=alecf - linux does not support -console, it just always spits everything to
stdout
r=timeless
OS: Linux → Windows 95
[s]r=alecf on that too
Since Don has left, Vishy is taking his bugs in bulk, pending reassignment.
thanks,
	Vishy
Assignee: don → vishy
Netscape Nav triage team: this is not a Netscape beta stopper. If you have 
a patch, please check in with proper reviews. 
Keywords: helpwanted, nsbeta1-
handing over to bill per his email...
Assignee: vishy → law
I don't think the wording is quite right on this.  "Start Mozilla _from_ a
console" ?  Shouldn't it be more along the lines of "Start Mozilla with a
debugging console" ?
erm yes. good catch.
Should i attach a new patch with the change Dean Tessman pointed out included,
or can someone do that change and then check this one in?
andre, feel free to attach a new patch and ping folx to review/approve and
checkin for you if needed. thx!
sairuh, yes I'll put out an updated patch next week when I (hopefully) get ADSL
and will be able to do a new checkout of the mozilla source.
Sorry for the delay. Below is a patch which adds a -console helptext which says
"Start Mozilla with a debugging console".
sr=alecf
r=timeless, do you need someone to check this in?
Assignee: law → anedah-9
timeless, yes I will need someone to check this in for me.
fix checked in, thanks
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Why include the word "Mozilla"

Why "Start Mozilla with" ?

Why not just "Start with" ?

Fx like: "ProfileWizard%sStart with profile wizard"

What about Netscape 6?
due to bug 26761, i need to find someone with a debug win32 to verify this. i'll
look around...
Keywords: pp
vrfy via smfr's win32 debug from today. :)

D:\src\mozilla\dist\WIN32_D.OBJ\bin>mozilla -help
Usage: mozilla [ options ... ] [URL]
       where options include:

        -height <value> Set height of startup window to <value>.
        -h or -help             Print this message.
        -installer              Start with 4.x migration window.
        -width <value> Set width of startup window to <value>.
        -v or -version          Print mozilla version.
        -CreateProfile <profile> Create <profile>.
        -P <profile> Start with <profile>.
        -ProfileWizard          Start with profile wizard.
        -ProfileManager         Start with profile manager.
        -SelectProfile          Start with profile selection dialog.
        -lang <lang-region> Start with <lang-region> resources.
        -console                Start Mozilla with a debugging console.
        -nosplash               Disable splash screen.
        -quiet          Disable splash screen.
Type Manifest File: D:\src\mozilla\dist\WIN32_D.OBJ\bin\components\xpti.dat
        -chat           Start with an IRC chat client
        -addressbook            Start with the addressbook.
        -news           Start with news.
        -jsconsole              Start with Javascript Console
        -edit <url> Start with editor.
        -chrome <url> Load the specified chrome.
        -mail           Start with mail.
        -compose <url> Start with messenger compose.
Status: RESOLVED → VERIFIED
Hrm... should this use the application name instead of hard-coding Mozilla?
It seems odd that this is confused. Is there a bug that suggests cleaning up the  command-line handler logic. It seems to me that registering a command-line handler could be done through a single component that would take parameters for, for example, the flaq, the description and any other thing needed. The "--help" content should be dynamically generated so that things do not go out of sync.

FYI, this is what I see on a fairly fresh build (with testing stuff) on Mac OS X.

I am curious why, for example, the "-CreateProfile" flag was there (at least on the Windows system in 2001, and now it is gone.

% browser_20080106_160400/mozilla/dist/MinefieldDebug.app/Contents/MacOS/firefox --help
Usage: browser_20080106_160400/mozilla/dist/MinefieldDebug.app/Contents/MacOS/firefox-bin [ options ... ] [URL]
       where options include:

        --g-fatal-warnings              Make all warnings fatal

Mozilla options
        -height <value>         Set height of startup window to <value>.
        -h or -help             Print this message.
        -width <value>          Set width of startup window to <value>.
        -v or -version          Print Firefox version.
        -P <profile>            Start with <profile>.
        -ProfileManager         Start with ProfileManager.
        -no-remote              Open new instance, not a new window in running instance.
        -UILocale <locale>              Start with <locale> resources as UI Locale.
        -safe-mode              Disables extensions and themes for this session.
  -jsconsole           Open the Error console.
  -browser            Open a browser window.
  -reftest <file>    Run layout acceptance tests on given manifest.
  -setDefaultBrowser   Set this app as the default browser.
  -tp <file>         Run pageload perf tests on given manifest
  -tpfilter str      Only include pages from manifest that contain str (regexp)
  -tpcycles n        Loop through pages n times
  -tpstart n         Start at index n in the manifest
  -tpend n           End with index n in the manifest
  -tpformat f1,f2,.. Report format(s) to use
  -tpchrome          Test with normal browser chrome
  -tprender          Run render-only benchmark for each page
  -tpwidth width     Width of window
  -tpheight height   Height of window
  -tpoffline         Force offline mode
  -tpnoisy           Dump the name of the last loaded page to console
  -tptimeout         Max amount of time given for a page to load, quit if exceeded
  -tpnoforcecc       Don't force cycle collection between each pageload
Usage: firefox [-flags] [<url>]
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: