mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-09 01:08:39 +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
|
|
@ -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;
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -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]),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue