aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Masters <jcm@jonmasters.org>2010-03-02 00:30:37 -0500
committerJon Masters <jcm@jonmasters.org>2010-03-02 00:30:37 -0500
commitbd9064ed4ad51d5c107843b0ebc07a5593204de2 (patch)
tree5c484a5236a00bbc53cf953a0d8fd555e28b6cb2
parentbc832cc1737aaa13c6a7600e39265b290bc64a57 (diff)
downloadmodule-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modprobe.c b/modprobe.c
index 6743759..730951e 100644
--- a/modprobe.c
+++ b/modprobe.c
@@ -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);