rem: helpDefault = getMsg (MSG_DEFAULT_ALIAS_HELP, func); 
add: helpDefault = getMsg (MSG_DEFAULT_ALIAS_HELP, func); 
context: function cmdmgr_defcmd (name, func, flags, usage, bundle){    if (!bundle)        bundle = this.defaultBundle;    var helpDefault;    var labelDefault = name;    var aliasFor;    if (typeof flags != "number")        flags = this.defaultFlags;        if (flags & CMD_NO_HELP)        helpDefault = MSG_NO_HELP;        if (typeof usage != "string")        usage = getMsgFrom(bundle, "cmd." + name + ".params", null, "");    if (typeof func == "string")    {        var ary = func.match(/(\S+)/);        if (ary)            aliasFor = ary[1];        else            aliasFor = null;        helpDefault = getMsg (MSG_DEFAULT_ALIAS_HELP, func);         if (aliasFor)            labelDefault = getMsgFrom (bundle, "cmd." + aliasFor + ".label",                                       null, name);    }        var label = getMsgFrom(bundle, "cmd." + name + ".label", null,                           labelDefault);    var help  = getMsgFrom(bundle, "cmd." + name + ".help", null,                           helpDefault);    var keystr = getMsgFrom (bundle, "cmd." + name + ".key", null, "");    var format = getMsgFrom (bundle, "cmd." + name + ".format", null, null);    var tip = getMsgFrom (bundle, "cmd." + name + ".tip", null, "");    var command = new CommandRecord (name, func, usage, help, label, flags,                                     keystr, tip, format);    this.addCommand(command);    if (aliasFor)        command.aliasFor = aliasFor;    return command;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/d84f82bf3e11bd09e70e1036662b0018f8834acc/command-manager.js/clean/extensions/irc/js/lib/command-manager.js