From 3b57da5f33c2aa6fb35c1f2c1531aa977ae634e6 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 20 Apr 2023 11:15:16 -0400 Subject: main: Disable getopt's error output --- (limited to 'src/main.c') 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) { -- cgit v0.9.1