Skip to content

Commit

Permalink
tools/rmmod: remove unused -w shortopt
Browse files Browse the repository at this point in the history
The (long)option and handling was removed some 10 years ago, yet the
shortopt remained... oops

Fixes: a4bd144 ("Remove "rmmod -w" documentation and getopt entry")
Signed-off-by: Emil Velikov <[email protected]>
Link: #138
Signed-off-by: Lucas De Marchi <[email protected]>
  • Loading branch information
evelikov authored and lucasdemarchi committed Sep 21, 2024
1 parent 6313d40 commit 519621b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/rmmod.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
static int verbose = DEFAULT_VERBOSE;
static int use_syslog;

static const char cmdopts_s[] = "fsvVwh";
static const char cmdopts_s[] = "fsvVh";
static const struct option cmdopts[] = {
// clang-format off
{ "force", no_argument, 0, 'f' },
Expand Down

0 comments on commit 519621b

Please sign in to comment.