mod_storage_sql: List available commands if no commands given (currenly only one available)
authorKim Alvefur <zash@zash.se>
Thu, 01 Dec 2016 10:02:26 +0100
changeset 7759 274d0e57cc60
parent 7758 19aa9b1ef9e8
child 7760 437fb77e5ded
mod_storage_sql: List available commands if no commands given (currenly only one available)
plugins/mod_storage_sql.lua
--- 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