enable the new "-4" option
authorNicolas Thill <nico@openwrt.org>
Sat, 13 Aug 2005 13:41:20 +0000 (13:41 +0000)
committerNicolas Thill <nico@openwrt.org>
Sat, 13 Aug 2005 13:41:20 +0000 (13:41 +0000)
SVN-Revision: 1627

openwrt/target/utils/src/addpattern.c

index 5298f7b003b0b6f406b99cf8ae877010281dff52..67f9da285e88ba22dc52a0fe4a7770c0c14f104a 100644 (file)
@@ -104,7 +104,7 @@ int main(int argc, char **argv)
        hdr = (struct code_header *) buf;
        memset(hdr, 0, sizeof(struct code_header));
 
-       while ((c = getopt(argc, argv, "i:o:p:gbv:012")) != -1) {
+       while ((c = getopt(argc, argv, "i:o:p:gbv:0124")) != -1) {
                switch (c) {
                        case 'i':
                                ifn = optarg;