No user sets it to more than one flag, so it is redundant with req_flags.
Showing the changes to fftools/cmdutils.c (1 of 5 files). Show all
Unified · Split
| @@ -108,7 +108,7 @@ int parse_number(const char *context, const char *numstr, enum OptionType type, · 107 unmodified lines | |||
| 108 | } | 108 | } |
| 109 | 109 | ||
| 110 | void show_help_options(const OptionDef *options, const char *msg, int req_flags, | 110 | void show_help_options(const OptionDef *options, const char *msg, int req_flags, |
| 111 | int rej_flags, int alt_flags) | 111 | int rej_flags) |
| 112 | { | 112 | { |
| 113 | const OptionDef *po; | 113 | const OptionDef *po; |
| 114 | int first; | 114 | int first; |
| @@ -118,7 +118,6 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags, · 3 unmodified lines | |||
| 118 | char buf[128]; | 118 | char buf[128]; |
| 119 | 119 | ||
| 120 | if (((po->flags & req_flags) != req_flags) || | 120 | if (((po->flags & req_flags) != req_flags) || |
| 121 | (alt_flags && !(po->flags & alt_flags)) || | ||
| 122 | (po->flags & rej_flags)) | 121 | (po->flags & rej_flags)) |
| 123 | continue; | 122 | continue; |
| 124 | 123 | ||