Changeset 66caf4b for tools/traceanon/traceanon.c
- Timestamp:
- 06/29/06 20:58:23 (15 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 47de0aa
- Parents:
- b01455c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/traceanon/traceanon.c
rfc0f131 r66caf4b 21 21 " prefix preserving\n" 22 22 "-p --prefix=C.I.D.R/bits Substitute the prefix of the address\n" 23 "-H --libtrace-help Print libtrace runtime documentation\n" 23 24 ,argv0); 24 trace_help();25 25 exit(1); 26 26 } … … 121 121 { "cryptopan", 1, 0, 'c' }, 122 122 { "prefix", 1, 0, 'p' }, 123 { NULL, 0, 0, 0 }, 123 { "libtrace-help", 0, 0, 'H' }, 124 { NULL, 0, 0, 0 }, 124 125 }; 125 126 126 int c=getopt_long(argc, argv, "sc:dp: ",127 int c=getopt_long(argc, argv, "sc:dp:H", 127 128 long_options, &option_index); 128 129 … … 149 150 enc_type = ENC_PREFIX_SUBSTITUTION; 150 151 break; 152 case 'H': 153 trace_help(); 154 exit(1); 155 break; 151 156 default: 152 157 fprintf(stderr,"unknown option: %c\n",c);
Note: See TracChangeset
for help on using the changeset viewer.