diff options
Diffstat (limited to 'modutils/modinfo.c')
-rw-r--r-- | modutils/modinfo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modutils/modinfo.c b/modutils/modinfo.c index 0f1d3ee47..3f91622a9 100644 --- a/modutils/modinfo.c +++ b/modutils/modinfo.c | |||
@@ -148,8 +148,7 @@ int modinfo_main(int argc UNUSED_PARAM, char **argv) | |||
148 | unsigned i; | 148 | unsigned i; |
149 | 149 | ||
150 | field = NULL; | 150 | field = NULL; |
151 | opt_complementary = "-1"; /* minimum one param */ | 151 | opts = getopt32(argv, "^" "0F:nadlp" "\0" "-1"/*minimum one arg*/, &field); |
152 | opts = getopt32(argv, "0F:nadlp", &field); | ||
153 | /* If no field selected, show all */ | 152 | /* If no field selected, show all */ |
154 | if (!(opts & (OPT_TAGS|OPT_F))) | 153 | if (!(opts & (OPT_TAGS|OPT_F))) |
155 | option_mask32 |= OPT_TAGS; | 154 | option_mask32 |= OPT_TAGS; |