From 7d805bc8c4b5f225e56de0982dadebc2dace5525 Mon Sep 17 00:00:00 2001 From: anekos Date: Fri, 7 Jan 2011 00:06:33 +0900 Subject: Chage/add sub command name --- panorama.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'panorama.js') diff --git a/panorama.js b/panorama.js index 7757cd6..9631bb5 100644 --- a/panorama.js +++ b/panorama.js @@ -2,7 +2,7 @@ * Use at your OWN RISK. */ let INFO = <> - - switchgroup swg + switchgroup swg g switchgroup GroupName swg GroupName + g GroupName countswitchgroup countswg + countg -

Switch group to GroupName

+

Switch group to GroupName

@@ -102,8 +104,8 @@ let INFO = <> - settitle - settitle title GroupName + title + title title GroupName

update GroupName's title to title.

if omitted GroupName, update the current group.

@@ -601,7 +603,7 @@ let subCmds = [ * swtich to the {group} * if {count} exists, switch to relative {count} */ - new Command(["switchgroup", "swg"], "Switch Group", + new Command(["switchgroup", "swg", "g"], "Switch Group", function (args) { if (args.count > 0) { switchToGroup("+" + args.count, true); @@ -718,9 +720,9 @@ let subCmds = [ }, true) // }}} , /** - * SubCommand settitle {{{ + * SubCommand title {{{ */ - new Command(["settitle"], "set group title", + new Command(["title"], "set group title", function (args) { let title = args[0], groupName = args.literalArg; -- cgit v1.2.3