diff options
author | Guy Harris <gharris@sonic.net> | 2021-07-14 02:15:56 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2021-07-14 09:51:54 +0000 |
commit | dfef4a750d95054571b8f8d978f655c83d87b6e4 (patch) | |
tree | 76df24f8315ece89896d480908220a42d09185d8 /capture_opts.h | |
parent | 95dc4f52bc6bbd1a4608e7ba81ccc0c1fa48f7ba (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 'capture_opts.h')
-rw-r--r-- | capture_opts.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capture_opts.h b/capture_opts.h index cb1aa499f9..1452f30484 100644 --- a/capture_opts.h +++ b/capture_opts.h @@ -44,7 +44,7 @@ extern "C" { * In short: we must not use 1 here, which is another reason to use * values outside the range of ASCII graphic characters. */ -#define LONGOPT_NUM_CAP_COMMENT LONGOPT_BASE_CAPTURE+1 +#define LONGOPT_CAPTURE_COMMENT LONGOPT_BASE_CAPTURE+1 #define LONGOPT_LIST_TSTAMP_TYPES LONGOPT_BASE_CAPTURE+2 #define LONGOPT_SET_TSTAMP_TYPE LONGOPT_BASE_CAPTURE+3 #define LONGOPT_COMPRESS_TYPE LONGOPT_BASE_CAPTURE+4 @@ -76,7 +76,7 @@ extern "C" { #endif #define LONGOPT_CAPTURE_COMMON \ - {"capture-comment", required_argument, NULL, LONGOPT_NUM_CAP_COMMENT}, \ + {"capture-comment", required_argument, NULL, LONGOPT_CAPTURE_COMMENT}, \ {"autostop", required_argument, NULL, 'a'}, \ {"ring-buffer", required_argument, NULL, 'b'}, \ LONGOPT_BUFFER_SIZE \ |