*: remove superfluous "?" in option parsing
This commit is contained in:
parent
b4f608d8e0
commit
e7fca5125a
@ -41,7 +41,7 @@ int dpkg_deb_main(int argc, char **argv)
|
|||||||
llist_add_to(&control_tar_llist, (char*)"control.tar.bz2");
|
llist_add_to(&control_tar_llist, (char*)"control.tar.bz2");
|
||||||
#endif
|
#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");
|
opt = getopt32(argv, "cefXx");
|
||||||
|
|
||||||
if (opt & DPKG_DEB_OPT_CONTENTS) {
|
if (opt & DPKG_DEB_OPT_CONTENTS) {
|
||||||
|
@ -865,7 +865,7 @@ int modprobe_main(int argc, char **argv)
|
|||||||
int rc = EXIT_SUCCESS;
|
int rc = EXIT_SUCCESS;
|
||||||
char *unused;
|
char *unused;
|
||||||
|
|
||||||
opt_complementary = "?V-:q-v:v-q";
|
opt_complementary = "q-v:v-q";
|
||||||
getopt32(argv, MAIN_OPT_STR, &unused, &unused);
|
getopt32(argv, MAIN_OPT_STR, &unused, &unused);
|
||||||
|
|
||||||
if (option_mask32 & (DUMP_CONF_EXIT | LIST_ALL))
|
if (option_mask32 & (DUMP_CONF_EXIT | LIST_ALL))
|
||||||
|
Loading…
Reference in New Issue
Block a user