Bug 1414403 - Display screenshot help message on all platforms. r?mossop
MozReview-Commit-ID: JSxTrXt9tnL
--- a/browser/components/nsBrowserContentHandler.js
+++ b/browser/components/nsBrowserContentHandler.js
@@ -463,20 +463,18 @@ nsBrowserContentHandler.prototype = {
" --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";
} else {
info += " --preferences Open Preferences dialog.\n";
}
- if (AppConstants.platform == "win" || AppConstants.MOZ_WIDGET_GTK) {
- info += " --screenshot [<path>] Save screenshot to <path> or in working directory.\n";
- info += " --window-size width[,height] Width and optionally height of screenshot.\n";
- }
+ info += " --screenshot [<path>] Save screenshot to <path> or in working directory.\n";
+ info += " --window-size width[,height] Width and optionally height of screenshot.\n";
info += " --search <term> Search <term> with your default search engine.\n";
return info;
},
/* nsIBrowserHandler */
get defaultArgs() {
var prefb = Services.prefs;