From 131dbdbfd087c4144d02cd605318688ee850f027 Mon Sep 17 00:00:00 2001 From: MadCamel Date: Sun, 17 Nov 2013 03:50:47 -0500 Subject: Updated help output a bit --- src/admin/ladmin.cpp | 52 ++++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/admin/ladmin.cpp b/src/admin/ladmin.cpp index d41b74d..bdd6cf5 100644 --- a/src/admin/ladmin.cpp +++ b/src/admin/ladmin.cpp @@ -69,7 +69,7 @@ FString ladmin_log_filename = "log/ladmin.log"; // When the password is omitted, the input is done without displaying of the pressed keys. // add testname Male testpass // -// ban/banish yyyy/mm/dd hh:mm:ss +// ban yyyy/mm/dd hh:mm:ss // Changes the final date of a banishment of an account. // Like banset, but is at end. // @@ -109,7 +109,7 @@ FString ladmin_log_filename = "log/ladmin.log"; // Like the 'add' command, but with e-mail moreover. // create testname Male my@mail.com testpass // -// del +// delete // Remove an account. // This order requires confirmation. After confirmation, the account is deleted. // @@ -135,19 +135,19 @@ FString ladmin_log_filename = "log/ladmin.log"; // kamib // Sends a broadcast message on all map-server (in blue). // -// list/ls [start_id [end_id]] +// list [start_id [end_id]] // Display a list of accounts. // 'start_id', 'end_id': indicate end and start identifiers. // Research by name is not possible with this command. // list 10 9999999 // -// listBan/lsBan [start_id [end_id]] +// listban [start_id [end_id]] // Like list/ls, but only for accounts with state or banished // -// listGM/lsGM [start_id [end_id]] +// listgm [start_id [end_id]] // Like list/ls, but only for GM accounts // -// listOK/lsOK [start_id [end_id]] +// listok [start_id [end_id]] // Like list/ls, but only for accounts without state and not banished // // memo @@ -164,7 +164,7 @@ FString ladmin_log_filename = "log/ladmin.log"; // quit/end/exit // End of the program of administration // -// reloadGM +// reloadgm // Reload GM configuration file // // search @@ -340,7 +340,7 @@ void display_help(ZString param) } else if (command == "ban") { - PRINTF("ban/banish yyyy/mm/dd hh:mm:ss \n"); + PRINTF("ban yyyy/mm/dd hh:mm:ss \n"); PRINTF(" Changes the final date of a banishment of an account.\n"); PRINTF(" Like banset, but is at end.\n"); } @@ -393,7 +393,7 @@ void display_help(ZString param) } else if (command == "delete") { - PRINTF("del \n"); + PRINTF("delete \n"); PRINTF(" Remove an account.\n"); PRINTF(" This order requires confirmation. After confirmation, the account is deleted.\n"); } @@ -451,17 +451,17 @@ void display_help(ZString param) } else if (command == "listban") { - PRINTF("listBan/lsBan [start_id [end_id]]\n"); + PRINTF("listban [start_id [end_id]]\n"); PRINTF(" Like list/ls, but only for accounts with state or banished.\n"); } else if (command == "listgm") { - PRINTF("listGM/lsGM [start_id [end_id]]\n"); + PRINTF("listgm [start_id [end_id]]\n"); PRINTF(" Like list/ls, but only for GM accounts.\n"); } else if (command == "listok") { - PRINTF("listOK/lsOK [start_id [end_id]]\n"); + PRINTF("listok [start_id [end_id]]\n"); PRINTF(" Like list/ls, but only for accounts without state and not banished.\n"); } else if (command == "memo") @@ -585,15 +585,15 @@ void display_help(ZString param) PRINTF(" help/? -- Display this help\n"); PRINTF(" help/? [command] -- Display the help of the command\n"); PRINTF(" add -- Create an account with default email\n"); - PRINTF(" ban/banish yyyy/mm/dd hh:mm:ss -- Change final date of a ban\n"); - PRINTF(" banadd/ba -- Add or substract time from the final\n"); + PRINTF(" ban yyyy/mm/dd hh:mm:ss -- Change final date of a ban\n"); + PRINTF(" banadd -- Add or substract time from the final\n"); PRINTF(" example: ba apple +1m-2mn1s-2y date of a banishment of an account\n"); - PRINTF(" banset/bs yyyy/mm/dd [hh:mm:ss] -- Change final date of a ban\n"); - PRINTF(" banset/bs 0 -- Un-banish an account\n"); + PRINTF(" banset yyyy/mm/dd [hh:mm:ss] -- Change final date of a ban\n"); + PRINTF(" banset 0 -- Un-banish an account\n"); PRINTF(" block -- Set state 5 (blocked by the GM Team) to an account\n"); PRINTF(" check -- Check the validity of a password\n"); PRINTF(" create -- Create an account with email\n"); - PRINTF(" del -- Remove an account\n"); + PRINTF(" delete -- Remove an account\n"); PRINTF(" email -- Modify an email of an account\n"); PRINTF(" getcount -- Give the number of players online\n"); PRINTF(" gm [GM_level] -- Modify the GM level of an account\n"); @@ -602,11 +602,11 @@ void display_help(ZString param) PRINTF(" itemfrob -- Map all items from one item ID to another\n"); PRINTF(" kami -- Sends a broadcast message (in yellow)\n"); PRINTF(" kamib -- Sends a broadcast message (in blue)\n"); - PRINTF(" list/ls [First_id [Last_id]] -- Display a list of accounts\n"); - PRINTF(" listBan/lsBan [First_id [Last_id] ] -- Display a list of accounts\n"); + PRINTF(" list [First_id [Last_id]] -- Display a list of accounts\n"); + PRINTF(" listban [First_id [Last_id] ] -- Display a list of accounts\n"); PRINTF(" with state or banished\n"); - PRINTF(" listGM/lsGM [First_id [Last_id]] -- Display a list of GM accounts\n"); - PRINTF(" listOK/lsOK [First_id [Last_id] ] -- Display a list of accounts\n"); + PRINTF(" listgm [First_id [Last_id]] -- Display a list of GM accounts\n"); + PRINTF(" listok [First_id [Last_id] ] -- Display a list of accounts\n"); PRINTF(" without state and not banished\n"); PRINTF(" memo -- Modify the memo of an account\n"); PRINTF(" name -- Give the name of an account\n"); @@ -616,11 +616,11 @@ void display_help(ZString param) PRINTF(" search -- Seek accounts\n"); PRINTF(" sex -- Modify the sex of an account\n"); PRINTF(" state -- Change the state\n"); - PRINTF(" timeadd/ta -- Add or substract time from the\n"); + PRINTF(" timeadd -- Add or substract time from the\n"); PRINTF(" example: ta apple +1m-2mn1s-2y validity limit of an account\n"); - PRINTF(" timeset/ts yyyy/mm/dd [hh:mm:ss] -- Change the validify limit\n"); - PRINTF(" timeset/ts 0 -- Give a unlimited validity limit\n"); - PRINTF(" unban/unbanish -- Remove the banishment of an account\n"); + PRINTF(" timeset yyyy/mm/dd [hh:mm:ss] -- Change the validify limit\n"); + PRINTF(" timeset 0 -- Give a unlimited validity limit\n"); + PRINTF(" unban -- Remove the banishment of an account\n"); PRINTF(" unblock -- Set state 0 (Account ok) to an account\n"); PRINTF(" version -- Gives the version of the login-server\n"); PRINTF(" who -- Display all information of an account\n"); @@ -979,7 +979,7 @@ void delaccount(ZString param) if (!qsplit(param, &name)) { PRINTF("Please input an account name.\n"); - PRINTF(" del testnametodelete\n"); + PRINTF(" delete testnametodelete\n"); LADMIN_LOG("No name given to delete an account ('delete' command).\n"); return; } -- cgit v1.2.3-70-g09d2