From: John Hodge Date: Fri, 7 Jan 2011 03:33:53 +0000 (+0800) Subject: Updated ShowUsage for the new commands X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=114f33e11226fbd4c2ad02a47829b4c44486efb5;p=tpg%2Fopendispense2.git Updated ShowUsage for the new commands --- diff --git a/src/client/main.c b/src/client/main.c index 94da826..f433cae 100644 --- a/src/client/main.c +++ b/src/client/main.c @@ -287,27 +287,33 @@ void ShowUsage(void) { printf( "Usage:\n" - "\tdispense\n" - "\t\tShow interactive list\n" - "\tdispense \n" - "\t\tDispense named item\n" - "\tdispense give \"\"\n" - "\t\tGive some of your money away\n" - "\tdispense acct []\n" - "\t\tShow user balances\n" - "\tdispense acct [+-=] \"\"\n" - "\t\tAlter a account value (Coke members only)\n" + " dispense\n" + " Show interactive list\n" + " dispense \n" + " Dispense named item\n" + " dispense give \"\"\n" + " Give some of your money away\n" + " dispense acct []\n" + " Show user balances\n" + " dispense acct [+-=] \"\"\n" + " Alter a account value (Coke members only)\n" + " dispense user add \n" + " Create new coke account (Wheel members only)\n" + " dispense user type \n" + " Alter a user's flags\n" + " is a comma-separated list of user,coke,wheel,disabled\n" + " Flags are removed by preceding the name with '-' or '!'\n" "\n" "General Options:\n" - "\t-u \n" - "\t\tSet a different user (Coke members only)\n" - "\t-h / -?\n" - "\t\tShow help text\n" - "\t-G\n" - "\t\tUse alternate GUI\n" - "\t-m \n" - "\t-M \n" - "\t\tSet the Maximum/Minimum balances shown in `dispense acct`\n" + " -u \n" + " Set a different user (Coke members only)\n" + " -h / -?\n" + " Show help text\n" + " -G\n" + " Use alternate GUI\n" + " -m \n" + " -M \n" + " Set the Maximum/Minimum balances shown in `dispense acct`\n" ); }