about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 83f3e405..04a2fe35 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -424,7 +424,7 @@ static struct cmd_t command_defs[] =
             "View, add to, and remove from roster groups. "
             "Passing no argument will list all roster groups.")
         CMD_ARGS(
-            { "show <group>",             "List all roster items a group." },
+            { "show <group>",             "List all roster items in a group." },
             { "add <group> <contact>",    "Add a contact to a group." },
             { "remove <group> <contact>", "Remove a contact from a group." })
         CMD_EXAMPLES(
@@ -2084,6 +2084,8 @@ static struct cmd_t command_defs[] =
         CMD_SUBFUNCS(
             { "sourcepath",     cmd_plugins_sourcepath },
             { "install",        cmd_plugins_install },
+            { "uninstall",      cmd_plugins_uninstall },
+            { "update",         cmd_plugins_update },
             { "load",           cmd_plugins_load },
             { "unload",         cmd_plugins_unload },
             { "reload",         cmd_plugins_reload },
@@ -2095,6 +2097,8 @@ static struct cmd_t command_defs[] =
             "/plugins sourcepath set <path>",
             "/plugins sourcepath clear",
             "/plugins install [<path>]",
+            "/plugins uninstall [<plugin>]",
+            "/plugins update [<path>]",
             "/plugins unload [<plugin>]",
             "/plugins load [<plugin>]",
             "/plugins reload [<plugin>]",
@@ -2105,6 +2109,8 @@ static struct cmd_t command_defs[] =
             { "sourcepath set <path>",  "Set the default path to install plugins from, will be used if no arg is passed to /plugins install." },
             { "sourcepath clear",       "Clear the default plugins source path." },
             { "install [<path>]",       "Install a plugin, or all plugins found in a directory (recursive). Passing no argument will use the sourcepath if one is set." },
+            { "uninstall [<plugin>]",   "Uninstall a plugin." },
+            { "update [<path>]",        "Updates an installed plugin" },
             { "load [<plugin>]",        "Load a plugin that already exists in the plugin directory, passing no argument loads all found plugins." },
             { "unload [<plugin>]",      "Unload a loaded plugin, passing no argument will unload all plugins." },
             { "reload [<plugin>]",      "Reload a plugin, passing no argument will reload all plugins." },
@@ -2113,6 +2119,8 @@ static struct cmd_t command_defs[] =
             "/plugins sourcepath set /home/meee/projects/profanity-plugins",
             "/plugins install",
             "/plugins install /home/steveharris/Downloads/metal.py",
+            "/plugins update /home/steveharris/Downloads/metal.py",
+            "/plugins uninstall browser.py",
             "/plugins load browser.py",
             "/plugins unload say.py",
             "/plugins reload wikipedia.py")