diff options
author | Kim Alvefur <zash@zash.se> | 2016-12-01 10:02:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-12-01 10:02:26 +0100 |
commit | 547a7061bc8fd3c4f5f490bb7f54fc26558f6e26 (patch) | |
tree | fb0e3a5008504fbf6f9698183db27d55891ed7c0 | |
parent | b4b0a1a7f20ac379d6c4fcd64e5c6331fb47620d (diff) | |
download | prosody-547a7061bc8fd3c4f5f490bb7f54fc26558f6e26.tar.gz prosody-547a7061bc8fd3c4f5f490bb7f54fc26558f6e26.zip |
mod_storage_sql: List available commands if no commands given (currenly only one available)
-rw-r--r-- | plugins/mod_storage_sql.lua | 3 |
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 |