uclient-fetch: add user/password to command line help
authorFelix Fietkau <nbd@openwrt.org>
Sat, 16 Jan 2016 10:01:58 +0000 (11:01 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Sat, 16 Jan 2016 10:01:58 +0000 (11:01 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-fetch.c

index 37cc214e5df6597f271c17062d52beb7f747ca0e..965f62142e1f9551fb1510692bc71563211783c5 100644 (file)
@@ -238,6 +238,8 @@ static int usage(const char *progname)
                "Options:\n"
                "       -q:                             Turn off status messages\n"
                "       -O <file>:                      Redirect output to file (use \"-\" for stdout)\n"
+               "       --user=<user>                   HTTP authentication username\n"
+               "       --password=<password>           HTTP authentication password\n"
                "\n"
                "HTTPS options:\n"
                "       --ca-certificate=<cert>:        Load CA certificates from file <cert>\n"