aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGuy Harris <gharris@sonic.net>2021-07-14 02:15:56 -0700
committerGuy Harris <gharris@sonic.net>2021-07-14 09:51:54 +0000
commitdfef4a750d95054571b8f8d978f655c83d87b6e4 (patch)
tree76df24f8315ece89896d480908220a42d09185d8 /tshark.c
parent95dc4f52bc6bbd1a4608e7ba81ccc0c1fa48f7ba (diff)
Rename LONGOPT_NUM_CAP_COMMENT to LONGOPT_CAPTURE_COMMENT.
The latter is what editcap calls --capture-comment, and the _NUM serves no purpose whatsoever. One #define name for it suffices.
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tshark.c b/tshark.c
index 89f7492977..7da895d502 100644
--- a/tshark.c
+++ b/tshark.c
@@ -1100,7 +1100,7 @@ main(int argc, char *argv[])
#endif
case 's': /* Set the snapshot (capture) length */
case 'y': /* Set the pcap data link type */
- case LONGOPT_NUM_CAP_COMMENT: /* add a capture comment */
+ case LONGOPT_CAPTURE_COMMENT: /* add a capture comment */
#ifdef CAN_SET_CAPTURE_BUFFER_SIZE
case 'B': /* Buffer size */
#endif