Comparison

prosodyctl @ 7676:7311dc843718

prosodyctl: Fix copy/paste error in help text for deluser command
author Matthew Wild <mwild1@gmail.com>
date Tue, 27 Sep 2016 22:01:13 +0100
parent 6498:ce66fe13eebe
child 7679:589e27b47d56
comparison
equal deleted inserted replaced
7675:decb657bc0a0 7676:7311dc843718
359 show_usage([[deluser JID]], [[Permanently remove the specified user account from Prosody]]); 359 show_usage([[deluser JID]], [[Permanently remove the specified user account from Prosody]]);
360 return 1; 360 return 1;
361 end 361 end
362 local user, host = jid_split(arg[1]); 362 local user, host = jid_split(arg[1]);
363 if not user and host then 363 if not user and host then
364 show_message [[Failed to understand JID, please supply the JID you want to set the password for]] 364 show_message [[Failed to understand JID, please supply the JID to the user account you want to delete]]
365 show_usage [[passwd user@host]] 365 show_usage [[deluser user@host]]
366 return 1; 366 return 1;
367 end 367 end
368 368
369 if not host then 369 if not host then
370 show_message [[Please specify a JID, including a host. e.g. alice@example.com]]; 370 show_message [[Please specify a JID, including a host. e.g. alice@example.com]];