summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 99a3b9d..b83e35f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -153,6 +153,7 @@ main(int argc, char *argv[])
program_name = argv[0];
control_files = NULL;
list_members = 0;
+ opterr = 0;
#ifdef HAVE_GETOPT_LONG
while ((opt = getopt_long(argc, argv, _optstring, _longopts, NULL))
!= -1) {