Skip to content

Commit

Permalink
Improve command help text
Browse files Browse the repository at this point in the history
  • Loading branch information
ec429 committed Nov 12, 2015
1 parent a6b5fb9 commit 0bbac7e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions cmd.c
Expand Up @@ -62,7 +62,7 @@ int init_cmds()

ADD_CMD ("close", close, "/close\nClose the current tab.");

ADD_CMD ("log", log, "/log <logtype> <file>\t:Start logging the current buffer.\n/log - \t:Disable logging for the current buffer.");
ADD_CMD ("log", log, "/log <logtype> <file>\tStart logging the current buffer.\n/log - \tDisable logging for the current buffer.");

ADD_CMD ("set", set, "/set <option> [value]\nSet configuration values.");

Expand All @@ -82,19 +82,19 @@ int init_cmds()
ADD_CMD ("part", part, "/part <channel>\nLeave a channel.");
ADD_CMD ("leave", part, "/leave <channel>\nLeave a channel.");

ADD_CMD ("unaway", unaway, "/unaway\nSet back."); ADD_CMD ("back", unaway, "/unaway\nSet back.");
ADD_CMD ("unaway", unaway, "/unaway\nUnset away message."); ADD_CMD ("back", unaway, "/back\nUnset away message.");

ADD_CMD ("away", away, "/away [msg]\t:Set away message.\n/away -\t:Set back.");
ADD_CMD ("away", away, "/away [msg]\tSet away message.\n/away -\tUnset.");

ADD_CMD ("afk", afk, "/afk [msg]\t:Set afk message.\n/afk -\t:Set back.");
ADD_CMD ("afk", afk, "/afk [msg]\tAdd afk message (default 'afk') to nick.\n/afk -\tUnset.");

ADD_CMD ("nick", nick, "/nick <nickname>\nSet your nickname.");

ADD_CMD ("topic", topic, "/topic [message]\nSets or get's the channel topic.");

ADD_CMD ("msg", msg, "/msg [-n] <recipient> [message]\nSend a message to another user. '-n' suppresses new tab.");

ADD_CMD ("ping", ping, "/ping [recipient]\nSend a CCTP ping to recipient. If in a private channel recipient can be omitted.");
ADD_CMD ("ping", ping, "/ping [recipient]\nSend a CTCP ping to recipient. If in a private channel recipient can be omitted.");

ADD_CMD ("amsg", amsg, "/amsg [message]\nSend a message to all users in channel.");

Expand All @@ -109,8 +109,8 @@ int init_cmds()
ADD_CMD ("right", right, "/right\nSwap current tab to the right.");

ADD_CMD ("ignore", ignore, "/ignore [-ipd] nick[!user[@host]]\n/ignore [-ipd] -r regex\n"
"/ignore -l\n -i\t:case insensitive\n-p\t:ignore private messages\n"
"-d\t:remove rule\n-r\t:supply regex\n-l\t:list rules that apply");
"/ignore -l\n\t-i case insensitive\n\t-p ignore private messages\n"
"\t-d remove rule\n\t-r match on regex\n\t-l list active rules");

ADD_CMD ("mode", mode, "/mode [nick [{+|-}mode]]\nSet, unset, or query mode flags.");

Expand Down

0 comments on commit 0bbac7e

Please sign in to comment.