From aeadd087e1ed59648c3feb120cbcbaf8c678972a Mon Sep 17 00:00:00 2001 From: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Date: Wed, 11 Aug 2010 11:05:51 -0300 Subject: [PATCH] client.c: Removed information about availability option and MAC parameter Removed that information from the print_help() error messages. Signed-off-by: Erik Alexandre Pucci <eap08@c3sl.ufpr.br> Acked-by: Ricardo Tavares de Oliveira <rto07@c3sl.ufpr.br> Signed-off-by: Danilo K. S. Yorinori <danilok@c3sl.ufpr.br> --- src/client.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/client.c b/src/client.c index 99d02b6..d3ba661 100644 --- a/src/client.c +++ b/src/client.c @@ -117,17 +117,13 @@ void print_help(void) ERROR("USAGE: client URL [OPTION] [INEP] [MAC] [PROXY_"); ERROR("HOST [PROXY_PORT [PROXY_USERID PROXY_PASSWD]]]"); ERROR("\n\n"); - ERROR("-a, --%s Availability option ", AVAILABILITYOPTION); - ERROR("which only sends the INEP and MAC address. "); - ERROR("Must run with -I and -m\n"); ERROR("-i, --%s Inventory option ", INVENTORYOPTION); ERROR("which sends the XML data\n"); ERROR("-u, --%s Update option ", UPDATEOPTION); - ERROR("which check for updates\n"); + ERROR("which checks for updates\n"); ERROR("-l, --url=URL URL used to connect "); ERROR("to the server\n"); ERROR("-I, --inep=INEP INEP of the school\n"); - ERROR("-m, --mac=MAC MAC address\n"); ERROR("-H, --phost=host Proxy host\n"); ERROR("-p, --pport=port Proxy port\n"); ERROR("-U, --puid=userid Proxy user id\n"); -- GitLab