aboutsummaryrefslogtreecommitdiffstats
path: root/text2pcap.c
diff options
context:
space:
mode:
authorRichard van der Hoff <richardv@mxtelecom.com>2007-08-21 21:25:53 +0000
committerRichard van der Hoff <richardv@mxtelecom.com>2007-08-21 21:25:53 +0000
commit80f24e2cc6d2796f87a881c79d52d5ad9f2145d3 (patch)
tree9134b3860ff6b03446fd923fe4e90d5d4565316d /text2pcap.c
parent7a57f956b86658183404fddaa28baaceb4378c65 (diff)
fix usage message for -o option
svn path=/trunk/; revision=22574
Diffstat (limited to 'text2pcap.c')
-rw-r--r--text2pcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text2pcap.c b/text2pcap.c
index c213824804..b844b611e1 100644
--- a/text2pcap.c
+++ b/text2pcap.c
@@ -1076,7 +1076,7 @@ parse_options (int argc, char *argv[])
case 'm': max_offset = strtol(optarg, NULL, 0); break;
case 'o':
if (optarg[0]!='h' && optarg[0] != 'o') {
- fprintf(stderr, "Bad argument for '-e': %s\n", optarg);
+ fprintf(stderr, "Bad argument for '-o': %s\n", optarg);
usage();
}
offset_base = (optarg[0]=='o') ? 8 : 16;