summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2016-08-09 02:50:14 +0200
committerGuillem Jover <guillem@debian.org>2016-10-30 04:43:33 +0100
commit931a690aed6dbc0e08dd085b5748162f6eaa1535 (patch)
tree4b0d2567d72bbff1317b33bde88b4633db1f4dd5 /src
parentb42e8e0a76e914cd88de8cbd41150064504a597b (diff)
downloaddpkg-931a690aed6dbc0e08dd085b5748162f6eaa1535.tar.gz
dpkg: Remove obsolete --print-installation-architecture option
Diffstat (limited to 'src')
-rw-r--r--src/enquiry.c8
-rw-r--r--src/main.c1
-rw-r--r--src/main.h1
3 files changed, 0 insertions, 10 deletions
diff --git a/src/enquiry.c b/src/enquiry.c
index 9f71863bf..f3f92c405 100644
--- a/src/enquiry.c
+++ b/src/enquiry.c
@@ -575,14 +575,6 @@ printarch(const char *const *argv)
}
int
-printinstarch(const char *const *argv)
-{
- warning(_("obsolete option '--%s'; please use '--%s' instead"),
- "print-installation-architecture", "print-architecture");
- return printarch(argv);
-}
-
-int
print_foreign_arches(const char *const *argv)
{
struct dpkg_arch *arch;
diff --git a/src/main.c b/src/main.c
index 122a28f3f..ccf277770 100644
--- a/src/main.c
+++ b/src/main.c
@@ -690,7 +690,6 @@ static const struct cmdinfo cmdinfos[]= {
ACTION( "add-architecture", 0, act_arch_add, arch_add ),
ACTION( "remove-architecture", 0, act_arch_remove, arch_remove ),
ACTION( "print-architecture", 0, act_printarch, printarch ),
- ACTION( "print-installation-architecture", 0, act_printinstarch, printinstarch ),
ACTION( "print-foreign-architectures", 0, act_printforeignarches, print_foreign_arches ),
ACTION( "predep-package", 0, act_predeppackage, predeppackage ),
ACTION( "compare-versions", 0, act_cmpversions, cmpversions ),
diff --git a/src/main.h b/src/main.h
index cddf45e0a..15ee278a4 100644
--- a/src/main.h
+++ b/src/main.h
@@ -101,7 +101,6 @@ enum action {
act_arch_add,
act_arch_remove,
act_printarch,
- act_printinstarch,
act_printforeignarches,
act_assertpredep,