From: Mark Tearle Date: Sat, 27 Dec 2014 16:03:46 +0000 (+0800) Subject: Client - Document command line flags X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Fopendispense2.git;a=commitdiff_plain;h=1fab0f284eb9f04b5a7b9e9c59baa306ae47f06b Client - Document command line flags --- diff --git a/src/client/main.c b/src/client/main.c index 4dd70df..3938bea 100644 --- a/src/client/main.c +++ b/src/client/main.c @@ -149,6 +149,8 @@ void ShowUsage(void) " Show help text\n" " -G\n" " Use simple textual interface (instead of ncurses)\n" + " -D\n" + " Drinks only in user interface\n" " -n\n" " Dry run - Do not actually do dispenses\n" " -m \n" @@ -156,6 +158,10 @@ void ShowUsage(void) " Set the Maximum/Minimum balances shown in `dispense acct`\n" " -f \n" " Set the config file path (default: `/etc/opendispense/client.conf'\n" + " -H \n" + " Set a different dispense host\n" + " -P \n" + " Set a different dispense port\n" "Definitions:\n" " \n" " Item ID of the form : where is a non-empty string of alpha-numeric characters, and is a non-negative integer\n"