enable the new "-4" option
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Aug 2005 13:41:20 +0000 (13:41 +0000)
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 13 Aug 2005 13:41:20 +0000 (13:41 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1627 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/utils/src/addpattern.c

index 5298f7b..67f9da2 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;