1
0
Mirror von https://github.com/tkuschel/bees.git synchronisiert 2026-05-08 04:59:37 +02:00

options: return EXIT_SUCCESS after displaying help message

`getopt_long` already supplies a message when an option cannot be parsed,
so there isn't a need to distinguish option parse failures from help
requests.

Fixes: https://github.com/Zygo/bees/pull/277
Signed-off-by: Zygo Blaxell <bees@furryterror.org>
Dieser Commit ist enthalten in:
Zygo Blaxell
2024-12-16 22:25:02 -05:00
Ursprung 231593bfbc
Commit 74296c644a
+1 -1
Datei anzeigen
@@ -814,7 +814,7 @@ bees_main(int argc, char *argv[])
case 'h':
default:
do_cmd_help(argv);
return EXIT_FAILURE;
return EXIT_SUCCESS;
}
}