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 | d0df7de3799bfd517ac06c2385a2dbecfe5ba34a (patch) | |
tree | fb0e3a5008504fbf6f9698183db27d55891ed7c0 /plugins/mod_storage_sql.lua | |
parent | f1ce52f17d720b45d8fb6d804fa6808894829e07 (diff) | |
download | prosody-d0df7de3799bfd517ac06c2385a2dbecfe5ba34a.tar.gz prosody-d0df7de3799bfd517ac06c2385a2dbecfe5ba34a.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.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 |