aboutsummaryrefslogtreecommitdiffstats
path: root/ui/dissect_opts.h
diff options
context:
space:
mode:
authorJoão Valverde <j@v6e.pt>2021-09-29 18:32:28 +0100
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-09-30 13:59:28 +0000
commit5362d0c31b83fd7eb812f3215918504496c2f56a (patch)
tree8db56bb5b91a21371aeda3cbb273c953b851f522 /ui/dissect_opts.h
parent0173ea0ec1f87f2ab40c45eedb0ca1c1f77eea8e (diff)
ws_getopt: Rename struct and macros
This is part of the API and should also be renamed to avoid conflicts.
Diffstat (limited to 'ui/dissect_opts.h')
-rw-r--r--ui/dissect_opts.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/dissect_opts.h b/ui/dissect_opts.h
index 8a1c6a64de..c795c53b9e 100644
--- a/ui/dissect_opts.h
+++ b/ui/dissect_opts.h
@@ -37,10 +37,10 @@ extern "C" {
* Options for dissecting common to all dissecting programs.
*/
#define LONGOPT_DISSECT_COMMON \
- {"disable-protocol", required_argument, NULL, LONGOPT_DISABLE_PROTOCOL }, \
- {"enable-heuristic", required_argument, NULL, LONGOPT_ENABLE_HEURISTIC }, \
- {"disable-heuristic", required_argument, NULL, LONGOPT_DISABLE_HEURISTIC }, \
- {"enable-protocol", required_argument, NULL, LONGOPT_ENABLE_PROTOCOL }, \
+ {"disable-protocol", ws_required_argument, NULL, LONGOPT_DISABLE_PROTOCOL }, \
+ {"enable-heuristic", ws_required_argument, NULL, LONGOPT_ENABLE_HEURISTIC }, \
+ {"disable-heuristic", ws_required_argument, NULL, LONGOPT_DISABLE_HEURISTIC }, \
+ {"enable-protocol", ws_required_argument, NULL, LONGOPT_ENABLE_PROTOCOL }, \
#define OPTSTRING_DISSECT_COMMON \
"d:K:nN:t:u:"