From 778041f8d1063042a8aaff045d6a6ca98009b641 Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Wed, 18 Jul 2001 05:17:39 +0000 Subject: Use the unofficial -C instead of -c to --configure a package, -c conflicts with another dpkg command --- archival/dpkg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'archival') diff --git a/archival/dpkg.c b/archival/dpkg.c index dfae9ed..e9afe5f 100644 --- a/archival/dpkg.c +++ b/archival/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; -- cgit v1.1