Changeset

3961:6fd9c9708422

mod_http_upload: Add some kind of help message to prosodyctl command
author Kim Alvefur <zash@zash.se>
date Mon, 30 Mar 2020 19:56:04 +0200
parents 3960:c8e4efef5cdb
children 3962:190e74e097ee
files mod_http_upload/mod_http_upload.lua
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_http_upload/mod_http_upload.lua	Mon Mar 30 19:20:09 2020 +0200
+++ b/mod_http_upload/mod_http_upload.lua	Mon Mar 30 19:56:04 2020 +0200
@@ -427,6 +427,10 @@
 				end
 			end
 		end
+	else
+		print("prosodyctl mod_http_upload expire [host or user@host]+")
+		print("\tProcess upload expiry for the given list of hosts and/or users");
+		return 1;
 	end
 end