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 2eee625..010117d 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) {