diff options
author | Jon Masters <jcm@jonmasters.org> | 2010-03-02 00:30:37 -0500 |
---|---|---|
committer | Jon Masters <jcm@jonmasters.org> | 2010-03-02 00:30:37 -0500 |
commit | bd9064ed4ad51d5c107843b0ebc07a5593204de2 (patch) | |
tree | 5c484a5236a00bbc53cf953a0d8fd555e28b6cb2 | |
parent | bc832cc1737aaa13c6a7600e39265b290bc64a57 (diff) | |
download | module-init-tools-bd9064ed4ad51d5c107843b0ebc07a5593204de2.tar.gz |
modprobe: re-enable inadvertently disabled options
At some point several short options versions (-S, -D, -R) were inadvertently
disabled. The first is used to override the kernel version, the second is used
to dump dependency information, and the third dumps resolved alias information.
The documentation was updated in the manpages in the previous commit and is
now in sync with how modprobe is actually implemented.
Signed-off-by: Jon Masters <jcm@jonmasters.org>
-rw-r--r-- | modprobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1565,7 +1565,7 @@ int main(int argc, char *argv[]) argv = merge_args(getenv("MODPROBE_OPTIONS"), argv, &argc); uname(&buf); - while ((opt = getopt_long(argc, argv, "Vvqsnd:C:o:rclt:aibf", options, NULL)) != -1){ + while ((opt = getopt_long(argc, argv, "Vvqsnd:S:C:DRo:rclt:aibf", options, NULL)) != -1){ switch (opt) { case 'V': puts(PACKAGE " version " VERSION); |