aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_storage_sql.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2016-12-01 10:02:26 +0100
committerKim Alvefur <zash@zash.se>2016-12-01 10:02:26 +0100
commit547a7061bc8fd3c4f5f490bb7f54fc26558f6e26 (patch)
treefb0e3a5008504fbf6f9698183db27d55891ed7c0 /plugins/mod_storage_sql.lua
parentb4b0a1a7f20ac379d6c4fcd64e5c6331fb47620d (diff)
downloadprosody-547a7061bc8fd3c4f5f490bb7f54fc26558f6e26.tar.gz
prosody-547a7061bc8fd3c4f5f490bb7f54fc26558f6e26.zip
mod_storage_sql: List available commands if no commands given (currenly only one available)
Diffstat (limited to 'plugins/mod_storage_sql.lua')
-rw-r--r--plugins/mod_storage_sql.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_storage_sql.lua b/plugins/mod_storage_sql.lua
index 1872ea34..67a441b7 100644
--- a/plugins/mod_storage_sql.lua
+++ b/plugins/mod_storage_sql.lua
@@ -507,6 +507,7 @@ function module.command(arg)
elseif command then
print("Unknown command: "..command);
else
- print("Unknown command: "..command);
+ print("Available commands:");
+ print("","upgrade - Perform database upgrade");
end
end