aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-10 01:32:18 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-11-10 01:32:18 +0000
commite7fca5125a1e683a8f92e988b6218da63a620f7a (patch)
tree0656f09f7ba801d3bc1d61452eb055d4cff0388b
parentb4f608d8e05feab4edc8ce2547ca0dcd72f0fb82 (diff)
downloadbusybox-e7fca5125a1e683a8f92e988b6218da63a620f7a.tar.gz
busybox-e7fca5125a1e683a8f92e988b6218da63a620f7a.tar.bz2
*: remove superfluous "?" in option parsing
-rw-r--r--archival/dpkg_deb.c2
-rw-r--r--modutils/modprobe.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/archival/dpkg_deb.c b/archival/dpkg_deb.c
index e1d2cd0ed..cbacc91f8 100644
--- a/archival/dpkg_deb.c
+++ b/archival/dpkg_deb.c
@@ -41,7 +41,7 @@ int dpkg_deb_main(int argc, char **argv)
llist_add_to(&control_tar_llist, (char*)"control.tar.bz2");
#endif
- opt_complementary = "?c--efXx:e--cfXx:f--ceXx:X--cefx:x--cefX";
+ opt_complementary = "c--efXx:e--cfXx:f--ceXx:X--cefx:x--cefX";
opt = getopt32(argv, "cefXx");
if (opt & DPKG_DEB_OPT_CONTENTS) {
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index dafbb4ecd..bc2dbd128 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -865,7 +865,7 @@ int modprobe_main(int argc, char **argv)
int rc = EXIT_SUCCESS;
char *unused;
- opt_complementary = "?V-:q-v:v-q";
+ opt_complementary = "q-v:v-q";
getopt32(argv, MAIN_OPT_STR, &unused, &unused);
if (option_mask32 & (DUMP_CONF_EXIT | LIST_ALL))