From 0d91dc1c4492bac8edf8d94837eab776d8e220f7 Mon Sep 17 00:00:00 2001 From: john30 Date: Sat, 31 Jan 2015 18:21:17 +0100 Subject: [PATCH] dont reorder args --- src/ebusd/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ebusd/main.cpp b/src/ebusd/main.cpp index 76f11057..3799544c 100644 --- a/src/ebusd/main.cpp +++ b/src/ebusd/main.cpp @@ -474,7 +474,7 @@ result_t loadConfigFiles(DataFieldTemplates* templates, MessageMap* messages, bo int main(int argc, char* argv[]) { struct argp argp = { argpoptions, parse_opt, NULL, argpdoc, NULL, NULL, NULL }; - if (argp_parse(&argp, argc, argv, 0, 0, &opt) != 0) + if (argp_parse(&argp, argc, argv, ARGP_IN_ORDER, NULL, &opt) != 0) return EINVAL;