All users were logged out of Bugzilla on October 13th, 2018

-console option missing from -help listing



19 years ago
10 years ago


(Reporter: bugzilla, Assigned: andre.bugs2)


({helpwanted, platform-parity})

Windows 95
helpwanted, platform-parity

Firefox Tracking Flags

(Not tracked)




(5 attachments)



19 years ago
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.

Comment 1

18 years ago
Created attachment 20163 [details] [diff] [review]
Patch which adds description of -console for UNIX and WIN32

Comment 2

18 years ago
Adding "patch" and "review" keywords.
Keywords: patch, review

Comment 3

18 years ago
alecf/mcafee/timeless, any of you care to review this?

Comment 4

18 years ago
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.

Comment 5

18 years ago
OS/2 doesn't currently support -console, but we are planning to implement some 
sort of console at a future date.

Comment 6

18 years ago
[s]r=alecf - linux does not support -console, it just always spits everything to

Comment 7

18 years ago
Created attachment 20202 [details] [diff] [review]
Patch which only adds this helptext for WIN32.

Comment 8

18 years ago
OS: Linux → Windows 95

Comment 9

18 years ago
[s]r=alecf on that too
Since Don has left, Vishy is taking his bugs in bulk, pending reassignment.
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-

Comment 12

18 years ago
handing over to bill per his email...
Assignee: vishy → law

Comment 13

18 years ago
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" ?

Comment 14

18 years ago
erm yes. good catch.

Comment 15

18 years ago
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?

Comment 16

18 years ago
andre, feel free to attach a new patch and ping folx to review/approve and
checkin for you if needed. thx!

Comment 17

18 years ago
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.

Comment 18

18 years ago
Sorry for the delay. Below is a patch which adds a -console helptext which says
"Start Mozilla with a debugging console".

Comment 19

18 years ago
Created attachment 26700 [details] [diff] [review]
A patch with the proposed changes to the wording.

Comment 20

18 years ago
Created attachment 26701 [details] [diff] [review]
A patch with the proposed changes to the wording.

Comment 21

18 years ago

Comment 22

18 years ago
r=timeless, do you need someone to check this in?
Assignee: law → anedah-9

Comment 23

18 years ago
timeless, yes I will need someone to check this in for me.

Comment 24

18 years ago
fix checked in, thanks
Last Resolved: 18 years ago
Resolution: --- → FIXED

Comment 25

18 years ago
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?

Comment 26

18 years ago
Created attachment 26888 [details] [diff] [review]
remove 'mozilla' from printed strings

Comment 27

18 years ago
due to bug 26761, i need to find someone with a debug win32 to verify this. i'll
look around...
Keywords: pp

Comment 28

18 years ago
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.

Comment 29

18 years ago
Hrm... should this use the application name instead of hard-coding Mozilla?

Comment 30

11 years ago
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/ --help
Usage: browser_20080106_160400/mozilla/dist/ [ 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>]


10 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.