summaryrefslogtreecommitdiffstats
path: root/browser/components
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-28 08:49:42 +0100
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-02-28 08:49:42 +0100
commit259e214960c23346628311d88427c7ca13bdb335 (patch)
tree28194ce01c0f4432c31914c6c16ca3e432531314 /browser/components
parentad35e2a11f30dd2db1ae63431dbb9065eea2771c (diff)
downloadUXP-259e214960c23346628311d88427c7ca13bdb335.tar
UXP-259e214960c23346628311d88427c7ca13bdb335.tar.gz
UXP-259e214960c23346628311d88427c7ca13bdb335.tar.lz
UXP-259e214960c23346628311d88427c7ca13bdb335.tar.xz
UXP-259e214960c23346628311d88427c7ca13bdb335.zip
Basilisk - the cmd line - help (the columns alignment, error improvements)
https://github.com/MoonchildProductions/moebius/pull/58
Diffstat (limited to 'browser/components')
-rw-r--r--browser/components/nsBrowserContentHandler.js14
-rw-r--r--browser/components/shell/nsSetDefaultBrowser.js2
2 files changed, 8 insertions, 8 deletions
diff --git a/browser/components/nsBrowserContentHandler.js b/browser/components/nsBrowserContentHandler.js
index e8fe0fe93..b366c3f81 100644
--- a/browser/components/nsBrowserContentHandler.js
+++ b/browser/components/nsBrowserContentHandler.js
@@ -454,16 +454,16 @@ nsBrowserContentHandler.prototype = {
get helpInfo() {
let info =
- " --browser Open a browser window.\n" +
- " --new-window <url> Open <url> in a new window.\n" +
- " --new-tab <url> Open <url> in a new tab.\n" +
- " --private-window <url> Open <url> in a new private window.\n";
+ " --browser Open a browser window.\n" +
+ " --new-window <url> Open <url> in a new window.\n" +
+ " --new-tab <url> Open <url> in a new tab.\n" +
+ " --private-window <url> Open <url> in a new private window.\n";
if (AppConstants.platform == "win") {
- info += " --preferences Open Options dialog.\n";
+ info += " --preferences Open Options dialog.\n";
} else {
- info += " --preferences Open Preferences dialog.\n";
+ info += " --preferences Open Preferences dialog.\n";
}
- info += " --search <term> Search <term> with your default search engine.\n";
+ info += " --search <term> Search <term> with your default search engine.\n";
return info;
},
diff --git a/browser/components/shell/nsSetDefaultBrowser.js b/browser/components/shell/nsSetDefaultBrowser.js
index bb09ab213..c7a78c538 100644
--- a/browser/components/shell/nsSetDefaultBrowser.js
+++ b/browser/components/shell/nsSetDefaultBrowser.js
@@ -21,7 +21,7 @@ nsSetDefaultBrowser.prototype = {
}
},
- helpInfo: " --setDefaultBrowser Set this app as the default browser.\n",
+ helpInfo: " --setDefaultBrowser Set this app as the default browser.\n",
classID: Components.ID("{F57899D0-4E2C-4ac6-9E29-50C736103B0C}"),
QueryInterface: XPCOMUtils.generateQI([Ci.nsICommandLineHandler]),