From 83906420ea84d8c7e291c5fe97204b279b2c2771 Mon Sep 17 00:00:00 2001 From: helly Date: Wed, 11 Aug 2004 21:16:07 +0000 Subject: [PATCH] Fix [999103] Invalid options prefixed with two dashes cause program crash --- main.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/main.cc b/main.cc index 2e35d67b..310a0cac 100644 --- a/main.cc +++ b/main.cc @@ -35,6 +35,7 @@ static const mbo_opt_struct OPTIONS[] = {'s', 0, "nested-ifs"}, {'o', 1, "output"}, {'v', 0, "version"} + {'-', 0, NULL} /* end of args */ }; static void usage() -- 2.40.0