diff options
author | Anton Khirnov <anton@khirnov.net> | 2024-01-17 12:20:03 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2024-01-20 10:37:32 +0100 |
commit | 67529ad8a4785c3ecbcf1bfb2f0aec623eaa66ab (patch) | |
tree | 734367f95444dcac80170a68b2315aba9ad072bb /fftools/cmdutils.c | |
parent | 03aedbdd4090788fac029719b97903d1a11d64f4 (diff) |
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.
Diffstat (limited to 'fftools/cmdutils.c')
-rw-r--r-- | fftools/cmdutils.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index d7d5ddee45..be01372743 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -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; |