Software /
code /
prosody
Diff
plugins/mod_storage_sql.lua @ 7756:274d0e57cc60
mod_storage_sql: List available commands if no commands given (currenly only one available)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 01 Dec 2016 10:02:26 +0100 |
parent | 7755:19aa9b1ef9e8 |
child | 7757:437fb77e5ded |
line wrap: on
line diff
--- a/plugins/mod_storage_sql.lua Thu Dec 01 10:02:01 2016 +0100 +++ b/plugins/mod_storage_sql.lua Thu Dec 01 10:02:26 2016 +0100 @@ -507,6 +507,7 @@ elseif command then print("Unknown command: "..command); else - print("Unknown command: "..command); + print("Available commands:"); + print("","upgrade - Perform database upgrade"); end end