Obsolete option --print-installation-architecture of dpkg still present in bash completion

Bug #887525 reported by Arvind S Raj
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bash-completion (Ubuntu)
Fix Released
Undecided
Sreedevi Pillai

Bug Description

The option --print-installation-architecture has become obsolete and replaced by --print-architecture but still shows up in completion.

$ dpkg --print-
--print-architecture --print-avail --print-gnu-build-architecture --print-installation-architecture
$ dpkg --print-installation-architecture
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
amd64

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: bash-completion 1:1.3-1ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Tue Nov 8 16:53:42 2011
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_IN:en
 LANG=en_IN
 SHELL=/bin/bash
SourcePackage: bash-completion
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (24 days ago)

Revision history for this message
Arvind S Raj (arvindsraj-deactivatedaccount) wrote :
Changed in bash-completion (Ubuntu):
assignee: nobody → Sreedevi Pillai (nssreedevipillai)
status: New → In Progress
Revision history for this message
Peter Cordes (peter-cordes) wrote :

dpkg completion now uses _parse_help to get the list of valid options from dpkg.

Changed in bash-completion (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.