uclient-fetch: fix short command line option for timeout
authorFelix Fietkau <nbd@openwrt.org>
Wed, 20 Jan 2016 09:52:40 +0000 (10:52 +0100)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 20 Jan 2016 09:52:40 +0000 (10:52 +0100)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
uclient-fetch.c

index 2eee6258bedb558ef329081c6f63fb6ad168cda7..010117d4909fd79df81ac4f943f348e983e040ca 100644 (file)
@@ -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) {