History

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.

Anton Khirnov committed 2 years ago

Commit 67529ad1 parent 03aedbd5 files · +19 −21Browse files

Showing the changes to fftools/cmdutils.c (1 of 5 files). Show all

Unified · Split

fftools/cmdutils.c+1−2
@@ -108,7 +108,7 @@ int parse_number(const char *context, const char *numstr, enum OptionType type, · 107 unmodified lines
108108 }
109109
110110 void show_help_options(const OptionDef *options, const char *msg, int req_flags,
111− int rej_flags, int alt_flags)
111+ int rej_flags)
112112 {
113113 const OptionDef *po;
114114 int first;
@@ -118,7 +118,6 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags, · 3 unmodified lines
118118 char buf[128];
119119
120120 if (((po->flags & req_flags) != req_flags) ||
121− (alt_flags && !(po->flags & alt_flags)) ||
122121 (po->flags & rej_flags))
123122 continue;
124123

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t