From: Giuseppe Bilotta Date: Tue, 24 Aug 2010 16:34:44 +0000 (+0200) Subject: auth: minimal help about user import/export X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=3ef4b8b3296db0c52e5a7368f673832b80a503f1;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git auth: minimal help about user import/export --- diff --git a/lib/rbot/core/auth.rb b/lib/rbot/core/auth.rb index 756fc6d7..79d8a85f 100644 --- a/lib/rbot/core/auth.rb +++ b/lib/rbot/core/auth.rb @@ -401,8 +401,12 @@ class AuthModule < CoreBotModule return _("user list : lists all the botusers") when "destroy" return _("user destroy : destroys . This function %{highlight}must%{highlight} be called in two steps. On the first call is queued for destruction. On the second call, which must be in the form 'user confirm destroy ', the botuser will be destroyed. If you want to cancel the destruction, issue the command 'user cancel destroy '") % {:highlight => Bold} + when "export" + return _("user export [to ]: exports user data to file (default: new-auth.users)") + when "import" + return _("user import [from ]: import user data from file (default: new-auth.users)") else - return _("user topics: show, enable|disable, add|rm netmask, set, reset, tell, create, list, destroy") + return _("user topics: show, enable|disable, add|rm netmask, set, reset, tell, create, list, destroy, import, export") end when "auth" return _("auth : log in as the bot owner; other commands: login, whoami, permissions syntax, permissions [re]set, permissions view, user, meet, hello, allow, deny")