Changeset 1562 for zzuf/trunk/src/zzuf.c
- Timestamp:
- Jan 5, 2007, 9:01:06 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/zzuf.c
r1560 r1562 111 111 { "stdin", 0, NULL, 'i' }, 112 112 { "include", 1, NULL, 'I' }, 113 { "network", 1, NULL, 'N' },113 { "network", 0, NULL, 'n' }, 114 114 { "protect", 1, NULL, 'P' }, 115 115 { "quiet", 0, NULL, 'q' }, … … 121 121 { "version", 0, NULL, 'v' }, 122 122 }; 123 int c = getopt_long(argc, argv, "B:cdE:F:hiI: NP:qr:R:s:ST:v",123 int c = getopt_long(argc, argv, "B:cdE:F:hiI:nP:qr:R:s:ST:v", 124 124 long_options, &option_index); 125 125 # else 126 126 # define MOREINFO "Try `%s -h' for more information.\n" 127 int c = getopt(argc, argv, "B:cdE:F:hiI: NP:qr:R:s:ST:v");127 int c = getopt(argc, argv, "B:cdE:F:hiI:nP:qr:R:s:ST:v"); 128 128 # endif 129 129 if(c == -1) … … 154 154 setenv("ZZUF_STDIN", "1", 1); 155 155 break; 156 case ' N': /* --network */156 case 'n': /* --network */ 157 157 setenv("ZZUF_NETWORK", "1", 1); 158 158 break; … … 554 554 static void usage(void) 555 555 { 556 printf("Usage: zzuf [ -cdi NqS ] [ -r ratio ] [ -s seed | -s start:stop ]\n");556 printf("Usage: zzuf [ -cdinqS ] [ -r ratio ] [ -s seed | -s start:stop ]\n"); 557 557 printf(" [ -F children ] [ -B bytes ] [ -T seconds ]\n"); 558 558 printf(" [ -P protect ] [ -R refuse ]\n"); … … 571 571 printf(" -i, --stdin fuzz standard input\n"); 572 572 printf(" -I, --include <regex> only fuzz files matching <regex>\n"); 573 printf(" - N, --network fuzz network input\n");573 printf(" -n, --network fuzz network input\n"); 574 574 printf(" -P, --protect <list> protect bytes and characters in <list>\n"); 575 575 printf(" -q, --quiet do not print children's messages\n"); … … 590 590 printf(" -i fuzz standard input\n"); 591 591 printf(" -I <regex> only fuzz files matching <regex>\n"); 592 printf(" - Nfuzz network input\n");592 printf(" -n fuzz network input\n"); 593 593 printf(" -P <list> protect bytes and characters in <list>\n"); 594 594 printf(" -q do not print the fuzzed application's messages\n");
Note: See TracChangeset
for help on using the changeset viewer.