1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 21:08:12 +01:00

Rename -liberator command-line option to -[config-name].

This commit is contained in:
Doug Kearns
2009-08-19 02:34:56 +10:00
parent cc187d8372
commit b0f4af5e55
12 changed files with 40 additions and 155 deletions

View File

@@ -7,15 +7,15 @@ function CommandLineHandler()
CommandLineHandler.prototype = {
classDescription: "Liberator Command-line Handler",
classDescription: "Muttator Command-line Handler",
classID: Components.ID("{16dc34f7-6d22-4aa4-a67f-2921fb5dcb69}"),
classID: Components.ID("{6e03e01a-3e2c-4a59-ac45-f1b4efb02ddb}"),
contractID: "@mozilla.org/commandlinehandler/general-startup;1?type=liberator",
contractID: "@mozilla.org/commandlinehandler/general-startup;1?type=muttator",
_xpcom_categories: [{
category: "command-line-handler",
entry: "m-liberator"
entry: "m-muttator"
}],
QueryInterface: XPCOMUtils.generateQI([Components.interfaces.nsICommandLineHandler]),
@@ -25,11 +25,11 @@ CommandLineHandler.prototype = {
// TODO: handle remote launches differently?
try
{
this.optionValue = commandLine.handleFlagWithParam("liberator", false);
this.optionValue = commandLine.handleFlagWithParam("muttator", false);
}
catch (e)
{
//"liberator: option -liberator requires an argument"
//"muttator: option -muttator requires an argument"
}
}
};