Use the unofficial -C instead of -c to --configure a package, -c conflicts with anoth...
authorGlenn L McGrath <bug1@ihug.co.nz>
Wed, 18 Jul 2001 05:17:39 +0000 (05:17 -0000)
committerGlenn L McGrath <bug1@ihug.co.nz>
Wed, 18 Jul 2001 05:17:39 +0000 (05:17 -0000)
archival/dpkg.c
dpkg.c

index dfae9ed..e9afe5f 100644 (file)
@@ -1290,9 +1290,9 @@ extern int dpkg_main(int argc, char **argv)
        int status_num;
        int i;
 
-       while ((opt = getopt(argc, argv, "cF:ilPru")) != -1) {
+       while ((opt = getopt(argc, argv, "CF:ilPru")) != -1) {
                switch (opt) {
-                       case 'c':
+                       case 'C': // equivalent to --configure in official dpkg
                                dpkg_opt |= dpkg_opt_configure;
                                dpkg_opt |= dpkg_opt_package_name;
                                break;
diff --git a/dpkg.c b/dpkg.c
index dfae9ed..e9afe5f 100644 (file)
--- a/dpkg.c
+++ b/dpkg.c
@@ -1290,9 +1290,9 @@ extern int dpkg_main(int argc, char **argv)
        int status_num;
        int i;
 
-       while ((opt = getopt(argc, argv, "cF:ilPru")) != -1) {
+       while ((opt = getopt(argc, argv, "CF:ilPru")) != -1) {
                switch (opt) {
-                       case 'c':
+                       case 'C': // equivalent to --configure in official dpkg
                                dpkg_opt |= dpkg_opt_configure;
                                dpkg_opt |= dpkg_opt_package_name;
                                break;