Changeset 1666 for zzuf/trunk/src/zzuf.c
- Timestamp:
- Jan 14, 2007, 12:03:37 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
zzuf/trunk/src/zzuf.c
r1665 r1666 113 113 for(;;) 114 114 { 115 # define OPTSTR "AB:cC:dD:E:F:iI:mM:nP:qr:R:s:ST:xh v"115 # define OPTSTR "AB:cC:dD:E:F:iI:mM:nP:qr:R:s:ST:xhV" 116 116 # ifdef HAVE_GETOPT_LONG 117 117 # define MOREINFO "Try `%s --help' for more information.\n" … … 142 142 { "check-exit", 0, NULL, 'x' }, 143 143 { "help", 0, NULL, 'h' }, 144 { "version", 0, NULL, ' v' },144 { "version", 0, NULL, 'V' }, 145 145 }; 146 146 int c = getopt_long(argc, argv, OPTSTR, long_options, &option_index); … … 236 236 usage(); 237 237 return 0; 238 case ' v': /* --version */238 case 'V': /* --version */ 239 239 version(); 240 240 return 0; … … 770 770 # ifdef HAVE_GETOPT_LONG 771 771 printf(" zzuf -h | --help\n"); 772 printf(" zzuf - v| --version\n");772 printf(" zzuf -V | --version\n"); 773 773 # else 774 774 printf(" zzuf -h\n"); 775 printf(" zzuf - v\n");775 printf(" zzuf -V\n"); 776 776 # endif 777 777 printf("Run PROGRAM with optional arguments ARGS and fuzz its input.\n"); … … 802 802 printf(" -x, --check-exit report processes that exit with a non-zero status\n"); 803 803 printf(" -h, --help display this help and exit\n"); 804 printf(" - v, --version output version information and exit\n");804 printf(" -V, --version output version information and exit\n"); 805 805 # else 806 806 printf(" -A increment seed each time a new file is opened\n"); … … 827 827 printf(" -x report processes that exit with a non-zero status\n"); 828 828 printf(" -h display this help and exit\n"); 829 printf(" - voutput version information and exit\n");829 printf(" -V output version information and exit\n"); 830 830 # endif 831 831 printf("\n");
Note: See TracChangeset
for help on using the changeset viewer.