summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-16 11:01:58 +0100
committerFelix Fietkau <nbd@openwrt.org>2016-01-16 11:01:58 +0100
commitb733f729ede556b62ca81714cba05029d9dbafb4 (patch)
tree14eb5aa0bc5174a40066baefd5102520a61af213
parent6853a3eeae3eede58e7989e3b4a94a58699a0d73 (diff)
downloaduclient-b733f729ede556b62ca81714cba05029d9dbafb4.tar.gz
uclient-fetch: add user/password to command line help
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--uclient-fetch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uclient-fetch.c b/uclient-fetch.c
index 37cc214..965f621 100644
--- a/uclient-fetch.c
+++ b/uclient-fetch.c
@@ -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"