Diff

mod_http_upload/mod_http_upload.lua @ 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
parent 3713:53fc4b612fb2
child 3962:190e74e097ee
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