From dfded633c6cb734147908dec9ecd9c31db67266a Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 3 Apr 2022 20:45:27 +0200 Subject: [PATCH] Fix woption --- src/builtins/path.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/builtins/path.cpp b/src/builtins/path.cpp index 4ae2c498c..b1840d9fd 100644 --- a/src/builtins/path.cpp +++ b/src/builtins/path.cpp @@ -387,7 +387,7 @@ static const struct woption long_options[] = { {L"type", required_argument, nullptr, 't'}, {L"invert", required_argument, nullptr, 't'}, {L"what", required_argument, nullptr, 1}, - {nullptr, 0, nullptr, 0}}; + {}}; static const std::unordered_map flag_to_function = { {'q', handle_flag_q}, {'v', handle_flag_v},