Ignore:
Timestamp:
Dec 29, 2006, 5:46:06 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Change -i/-e to -I/-E.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/zzuf.c

    r1511 r1525  
    9696        {
    9797            /* Long option, needs arg, flag, short option */
    98             { "include",   1, NULL, 'i' },
    99             { "exclude",   1, NULL, 'e' },
     98            { "include",   1, NULL, 'I' },
     99            { "exclude",   1, NULL, 'E' },
    100100            { "seed",      1, NULL, 's' },
    101101            { "ratio",     1, NULL, 'r' },
     
    108108            { "version",   0, NULL, 'v' },
    109109        };
    110         int c = getopt_long(argc, argv, "i:e:s:r:F:B:T:qdhv",
     110        int c = getopt_long(argc, argv, "I:E:s:r:F:B:T:qdhv",
    111111                            long_options, &option_index);
    112112#   else
    113113#       define MOREINFO "Try `%s -h' for more information.\n"
    114         int c = getopt(argc, argv, "i:e:s:r:F:B:T:qdhv");
     114        int c = getopt(argc, argv, "I:E:s:r:F:B:T:qdhv");
    115115#   endif
    116116        if(c == -1)
     
    119119        switch(c)
    120120        {
    121         case 'i': /* --include */
     121        case 'I': /* --include */
    122122            setenv("ZZUF_INCLUDE", optarg, 1);
    123123            break;
    124         case 'e': /* --exclude */
     124        case 'E': /* --exclude */
    125125            setenv("ZZUF_EXCLUDE", optarg, 1);
    126126            break;
     
    428428    printf("Usage: zzuf [ -vqdh ] [ -r ratio ] [ -s seed | -s start:stop]\n");
    429429    printf("                      [ -F children ] [ -B bytes ] [ -T seconds ]\n");
    430     printf("                      [ -i include ] [ -e exclude ] COMMAND [ARGS]...\n");
     430    printf("                      [ -I include ] [ -E exclude ] COMMAND [ARGS]...\n");
    431431    printf("Run COMMAND and randomly fuzz its input files.\n");
    432432    printf("\n");
     
    440440    printf("  -T, --max-time <n>       kill children that run for more than <n> seconds\n");
    441441    printf("  -q, --quiet              do not print children's messages\n");
    442     printf("  -i, --include <regex>    only fuzz files matching <regex>\n");
    443     printf("  -e, --exclude <regex>    do not fuzz files matching <regex>\n");
     442    printf("  -I, --include <regex>    only fuzz files matching <regex>\n");
     443    printf("  -E, --exclude <regex>    do not fuzz files matching <regex>\n");
    444444    printf("  -d, --debug              print debug messages\n");
    445445    printf("  -h, --help               display this help and exit\n");
     
    453453    printf("  -T <n>           kill children that run for more than <n> seconds\n");
    454454    printf("  -q               do not print the fuzzed application's messages\n");
    455     printf("  -i <regex>       only fuzz files matching <regex>\n");
    456     printf("  -e <regex>       do not fuzz files matching <regex>\n");
     455    printf("  -I <regex>       only fuzz files matching <regex>\n");
     456    printf("  -E <regex>       do not fuzz files matching <regex>\n");
    457457    printf("  -d               print debug messages\n");
    458458    printf("  -h               display this help and exit\n");
Note: See TracChangeset for help on using the changeset viewer.