diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-20 11:15:16 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2023-04-20 11:15:16 (EDT) |
commit | 3b57da5f33c2aa6fb35c1f2c1531aa977ae634e6 (patch) | |
tree | e811e3ea361a9d6485f2767358383c24d270c573 /src | |
parent | 021df0a3f3abdaf0b2304b6f74ec27b5cb27db60 (diff) |
main: Disable getopt's error output
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |