diff options
author | Guillem Jover <guillem@debian.org> | 2016-08-09 02:50:14 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-10-30 04:43:33 +0100 |
commit | 931a690aed6dbc0e08dd085b5748162f6eaa1535 (patch) | |
tree | 4b0d2567d72bbff1317b33bde88b4633db1f4dd5 /src | |
parent | b42e8e0a76e914cd88de8cbd41150064504a597b (diff) | |
download | dpkg-931a690aed6dbc0e08dd085b5748162f6eaa1535.tar.gz |
dpkg: Remove obsolete --print-installation-architecture option
Diffstat (limited to 'src')
-rw-r--r-- | src/enquiry.c | 8 | ||||
-rw-r--r-- | src/main.c | 1 | ||||
-rw-r--r-- | src/main.h | 1 |
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, |