fftools/cmdutils: drop alt_flags parameter from show_help_options()

No user sets it to more than one flag, so it is redundant with
req_flags.
This commit is contained in:
Anton Khirnov
2024-01-17 12:20:03 +01:00
parent 03aedbdd40
commit 67529ad8a4
5 changed files with 19 additions and 21 deletions

View File

@@ -108,7 +108,7 @@ int parse_number(const char *context, const char *numstr, enum OptionType type,
}
void show_help_options(const OptionDef *options, const char *msg, int req_flags,
int rej_flags, int alt_flags)
int rej_flags)
{
const OptionDef *po;
int first;
@@ -118,7 +118,6 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags,
char buf[128];
if (((po->flags & req_flags) != req_flags) ||
(alt_flags && !(po->flags & alt_flags)) ||
(po->flags & rej_flags))
continue;