uclient-fetch: fix inconsistencies in help text (thx, Hannu Nyman)
authorFelix Fietkau <nbd@openwrt.org>
Mon, 8 Feb 2016 18:03:57 +0000 (19:03 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 8 Feb 2016 18:04:39 +0000 (19:04 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-fetch.c

index f65fab21f1cb46a30fe10f8a48637f3b95cf1320..065742eeed3378167b234cb664efb19750af26e0 100644 (file)
@@ -440,11 +440,11 @@ static int usage(const char *progname)
        fprintf(stderr,
                "Usage: %s [options] <URL>\n"
                "Options:\n"
-               "       -4:                             Use IPv4 only\n"
-               "       -6:                             Use IPv6 only\n"
-               "       -q:                             Turn off status messages\n"
-               "       -O <file>:                      Redirect output to file (use \"-\" for stdout)\n"
-               "       -P <dir>:                       Set directory for output files\n"
+               "       -4                              Use IPv4 only\n"
+               "       -6                              Use IPv6 only\n"
+               "       -q                              Turn off status messages\n"
+               "       -O <file>                       Redirect output to file (use \"-\" for stdout)\n"
+               "       -P <dir>                        Set directory for output files\n"
                "       --user=<user>                   HTTP authentication username\n"
                "       --password=<password>           HTTP authentication password\n"
                "       --user-agent|-U <str>           Set HTTP user agent\n"
@@ -454,8 +454,8 @@ static int usage(const char *progname)
                "       --proxy=on|off|-Y on|off        Enable/disable env var configured proxy\n"
                "\n"
                "HTTPS options:\n"
-               "       --ca-certificate=<cert>:        Load CA certificates from file <cert>\n"
-               "       --no-check-certificate:         don't validate the server's certificate\n"
+               "       --ca-certificate=<cert>         Load CA certificates from file <cert>\n"
+               "       --no-check-certificate          don't validate the server's certificate\n"
                "\n", progname);
        return 1;
 }