From 547a7061bc8fd3c4f5f490bb7f54fc26558f6e26 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 1 Dec 2016 10:02:26 +0100 Subject: mod_storage_sql: List available commands if no commands given (currenly only one available) --- plugins/mod_storage_sql.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3