Updated the help messages for the update UPDT and new UPNP commands.

This commit is contained in:
Paul van Tilburg 2011-03-12 01:47:29 +01:00
parent abdb91e58e
commit 0b4e386e54
1 changed files with 9 additions and 8 deletions

View File

@ -235,14 +235,15 @@ module Ildus
def help_cmd
prot_msg_with_body 214, <<-EOT, "ildus-admin@localhost"
The following commands are recognized:
HELP\t\t\tshow this help
QUIT\t\t\tclose connection
USER <user>\t\tsupply username
PASS <passwd>\t\tgive password
LIST\t\t\tlist hostnames (and aliases)\t[auth. required]
UPDT <host> <ip>\tupdate ip for host\t\t[auth. required]
ADDA <host> <alias>\tadd alias to host\t\t[auth. required]
DELA <host> <alias>\tdelete alias from host\t\t[auth. required]
HELP\t\t\t\tshow this help
QUIT\t\t\t\tclose connection and commit updates
USER <user>\t\t\tsupply username
PASS <passwd>\t\t\tgive password
LIST\t\t\t\tlist hostnames (and aliases)\t[auth. required]
UPDT <host> [<ip>]\t\tupdate host\t\t\t[auth. required]
UPNP <host> <time> [<ip>]\tnon-persistent update for host\t[auth. required]
ADDA <host> <alias>\t\tadd alias to host\t\t[auth. required]
DELA <host> <alias>\t\tdelete alias from host\t\t[auth. required]
EOT
end