diff options
author | Lucas De Marchi <lucas.de.marchi@gmail.com> | 2022-06-03 14:50:40 -0700 |
---|---|---|
committer | Lucas De Marchi <lucas.de.marchi@gmail.com> | 2022-06-26 23:23:46 -0700 |
commit | 081fff2c678cc1b1da1034f638bf5373b35188d5 (patch) | |
tree | 1b88f211f296dcd01d1ccea40a80ab2b95832d52 | |
parent | 6f7ab21645694b01e45bae8d8740004f53736c82 (diff) | |
download | kmod-081fff2c678cc1b1da1034f638bf5373b35188d5.tar.gz kmod-081fff2c678cc1b1da1034f638bf5373b35188d5.tar.bz2 kmod-081fff2c678cc1b1da1034f638bf5373b35188d5.zip |
modprobe: Move -R to "Query options"
Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
-rw-r--r-- | tools/modprobe.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/modprobe.c b/tools/modprobe.c index a825fb5..caaf87f 100644 --- a/tools/modprobe.c +++ b/tools/modprobe.c @@ -110,7 +110,6 @@ static void help(void) "\t-r, --remove Remove modules instead of inserting\n" "\t --remove-dependencies Deprecated: use --remove-holders\n" "\t --remove-holders Also remove module holders (use together with -r)\n" - "\t-R, --resolve-alias Only lookup and print alias and exit\n" "\t --first-time Fail if module already inserted or removed\n" "\t-i, --ignore-install Ignore install commands\n" "\t-i, --ignore-remove Ignore remove commands\n" @@ -122,6 +121,7 @@ static void help(void) "\t --force-vermagic Ignore module's version magic\n" "\n" "Query Options:\n" + "\t-R, --resolve-alias Only lookup and print alias and exit\n" "\t-D, --show-depends Only print module dependencies and exit\n" "\t-c, --showconfig Print out known configuration and exit\n" "\t-c, --show-config Same as --showconfig\n" @@ -800,9 +800,6 @@ static int do_modprobe(int argc, char **orig_argv) case 5: remove_holders = 1; break; - case 'R': - lookup_only = 1; - break; case 3: first_time = 1; break; @@ -826,6 +823,9 @@ static int do_modprobe(int argc, char **orig_argv) dry_run = 1; do_show = 1; break; + case 'R': + lookup_only = 1; + break; case 'c': do_show_config = 1; break; |