so you instead changed error output, what i really meant that it would understand both packagename-version and packagename-version.arch, like rpm does:
$ rpm -q rpm
rpm-4.5-69.i686
$ rpm -q rpm-4.5
rpm-4.5-69.i686
$ rpm -q rpm-4.5-69
rpm-4.5-69.i686
$ rpm -q rpm-4.5-69.i686
rpm-4.5-69.i686
i.e i wanted as the RFE said: "ls command to work without ARCH"
so you instead changed error output, what i really meant that it would understand both packagename-version and packagename- version. arch, like rpm does:
$ rpm -q rpm
rpm-4.5-69.i686
$ rpm -q rpm-4.5
rpm-4.5-69.i686
$ rpm -q rpm-4.5-69
rpm-4.5-69.i686
$ rpm -q rpm-4.5-69.i686
rpm-4.5-69.i686
i.e i wanted as the RFE said: "ls command to work without ARCH"