diff options
author | Rahat Ahmed <rahatarmanahmed@gmail.com> | 2013-05-10 23:32:29 -0500 |
---|---|---|
committer | Rahat Ahmed <rahatarmanahmed@gmail.com> | 2013-05-10 23:32:29 -0500 |
commit | be3515437694253a035fd9b2770a1610ee951afb (patch) | |
tree | d58f435cc10029654dc9f07e145adf2dbe3a18a7 /plugins/sysinfo | |
parent | de2fdc093a1dd301b0ca6ee874eec9bbbcb86d33 (diff) |
Added help text for sysinfo plugin.
Diffstat (limited to 'plugins/sysinfo')
-rw-r--r-- | plugins/sysinfo/sysinfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/sysinfo/sysinfo.cpp b/plugins/sysinfo/sysinfo.cpp index 4c307957..7412d0d2 100644 --- a/plugins/sysinfo/sysinfo.cpp +++ b/plugins/sysinfo/sysinfo.cpp @@ -31,6 +31,7 @@ static hexchat_plugin *ph; /* plugin handle */ static char name[] = "SysInfo"; static char desc[] = "Display info about your hardware and OS"; static char version[] = "1.1"; +static char helptext[] = "USAGE: /sysinfo - Sends info about your hardware and OS to current channel."; static int firstRun; static char *wmiOs; static char *wmiCpu; @@ -397,7 +398,7 @@ hexchat_plugin_init (hexchat_plugin *plugin_handle, char **plugin_name, char **p firstRun = 1; - hexchat_hook_command (ph, "SYSINFO", HEXCHAT_PRI_NORM, printInfo, NULL, NULL); + hexchat_hook_command (ph, "SYSINFO", HEXCHAT_PRI_NORM, printInfo, helptext, NULL); hexchat_command (ph, "MENU -ishare\\system.png ADD \"Window/Display System Info\" \"SYSINFO\""); hexchat_printf (ph, "%s plugin loaded\n", name); |