summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-20 10:52:40 +0100
committerFelix Fietkau <nbd@openwrt.org>2016-01-20 10:52:40 +0100
commit235ce84d97cb07a285aeee464ab3f24584cf394e (patch)
tree9cf26ba75fc9b03841c93a682d78fc1c8f7802eb
parent1939499081e651e192f5ad6bb84f45646edd6b02 (diff)
downloaduclient-235ce84d97cb07a285aeee464ab3f24584cf394e.tar.gz
uclient-fetch: fix short command line option for timeout
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--uclient-fetch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uclient-fetch.c b/uclient-fetch.c
index 2eee625..010117d 100644
--- a/uclient-fetch.c
+++ b/uclient-fetch.c
@@ -519,7 +519,7 @@ int main(int argc, char **argv)
signal(SIGPIPE, SIG_IGN);
init_ustream_ssl();
- while ((ch = getopt_long(argc, argv, "cO:P:qsU:Y:", longopts, &longopt_idx)) != -1) {
+ while ((ch = getopt_long(argc, argv, "cO:P:qsT:U:Y:", longopts, &longopt_idx)) != -1) {
switch(ch) {
case 0:
switch (longopt_idx) {