mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-09 00:37:32 +09:00
Basilisk - the cmd line - help (the columns alignment, error improvements)
https://github.com/MoonchildProductions/moebius/pull/58
This commit is contained in:
parent
208282c5c5
commit
e1f7b9e459
5 changed files with 38 additions and 32 deletions
|
|
@ -190,7 +190,10 @@ DevToolsStartup.prototype = {
|
|||
listener.open();
|
||||
dump("Started debugger server on " + portOrPath + "\n");
|
||||
} catch (e) {
|
||||
dump("Unable to start debugger server on " + portOrPath + ": " + e);
|
||||
let _error = "Unable to start debugger server on " + portOrPath + ": "
|
||||
+ e;
|
||||
Cu.reportError(_error);
|
||||
dump(_error + "\n");
|
||||
}
|
||||
|
||||
if (cmdLine.state == Ci.nsICommandLine.STATE_REMOTE_AUTO) {
|
||||
|
|
@ -203,8 +206,10 @@ DevToolsStartup.prototype = {
|
|||
" --jsdebugger Open the Browser Toolbox.\n" +
|
||||
" --devtools Open DevTools on initial load.\n" +
|
||||
" --start-debugger-server [ws:][<port>|<path>] Start the debugger server on\n" +
|
||||
" a TCP port or Unix domain socket path. Defaults to TCP port\n" +
|
||||
" 6000. Use WebSocket protocol if ws: prefix is specified.\n",
|
||||
" a TCP port or Unix domain socket path.\n" +
|
||||
" Defaults to TCP port 6000.\n" +
|
||||
" Use WebSocket protocol if ws: prefix\n" +
|
||||
" is specified.\n",
|
||||
/* eslint-disable max-len */
|
||||
|
||||
classID: Components.ID("{9e9a9283-0ce9-4e4a-8f1c-ba129a032c32}"),
|
||||
|
|
|
|||
|
|
@ -1590,11 +1590,11 @@ DumpHelp()
|
|||
|
||||
#ifdef MOZ_X11
|
||||
printf("X11 options\n"
|
||||
" --display=DISPLAY X display to use\n"
|
||||
" --sync Make X calls synchronous\n");
|
||||
" --display=DISPLAY X display to use.\n"
|
||||
" --sync Make X calls synchronous.\n");
|
||||
#endif
|
||||
#ifdef XP_UNIX
|
||||
printf(" --g-fatal-warnings Make all warnings fatal\n"
|
||||
printf(" --g-fatal-warnings Make all warnings fatal.\n"
|
||||
"\n%s options\n", gAppData->name);
|
||||
#endif
|
||||
|
||||
|
|
@ -1604,14 +1604,15 @@ DumpHelp()
|
|||
" --profile <path> Start with profile at <path>.\n"
|
||||
" --migration Start with migration wizard.\n"
|
||||
" --ProfileManager Start with ProfileManager.\n"
|
||||
" --no-remote Do not accept or send remote commands; implies\n"
|
||||
" --new-instance.\n"
|
||||
" --new-instance Open new instance, not a new window in running instance.\n"
|
||||
" --no-remote Do not accept or send remote commands;\n"
|
||||
" implies --new-instance.\n"
|
||||
" --new-instance Open new instance, not a new window\n"
|
||||
" in running instance.\n"
|
||||
" --UILocale <locale> Start with <locale> resources as UI Locale.\n"
|
||||
" --safe-mode Disables extensions and themes for this session.\n", gAppData->name);
|
||||
" --safe-mode Disables extensions and themes for this session.\n", (const char*) gAppData->name);
|
||||
|
||||
#if defined(XP_WIN)
|
||||
printf(" --console Start %s with a debugging console.\n", gAppData->name);
|
||||
printf(" --console Start %s with a debugging console.\n", (const char*) gAppData->name);
|
||||
#endif
|
||||
|
||||
// this works, but only after the components have registered. so if you drop in a new command line handler, --help
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue