lsmem -v replaced with -V

Bug #1721648 reported by John George
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu on IBM z Systems
Fix Released
Low
Unassigned
s390-tools (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

The -v options is no longer valid, as -V has replaced it.
This is not really a big issue but it seem odd as this is a shift away from the standard -v option used by most of the other utilities in the s390-tools package and forces modification of tests and tools that collect the versions.

ubuntu@s5lp7:~$ lsmem -v
lsmem: invalid option -- 'v'
Try 'lsmem --help' for more information.
ubuntu@s5lp7:~$ lsmem -V
lsmem from util-linux 2.30.1

ubuntu@s5lp7:~$ apt-cache policy s390-tools
s390-tools:
  Installed: 1.39.0-0ubuntu3
  Candidate: 1.39.0-0ubuntu3
  Version table:
     1.39.0-0ubuntu3 500
        500 http://us.ports.ubuntu.com/ubuntu-ports artful/main s390x Packages
 *** 1.39.0-0ubuntu3 100
        100 /var/lib/dpkg/status

tags: added: artful
Mathew Hodson (mhodson)
Changed in s390-tools (Ubuntu):
importance: Undecided → Low
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
assignee: nobody → bugproxy (bugproxy)
importance: Undecided → Low
Frank Heimes (fheimes)
Changed in ubuntu-z-systems:
status: New → Triaged
tags: added: reverse-proxy
Frank Heimes (fheimes)
tags: added: reverse-proxy-bugzilla
removed: reverse-proxy
Revision history for this message
Frank Heimes (fheimes) wrote :

Waiting for an update from IBM - setting to Incomplete for now.

Changed in ubuntu-z-systems:
status: Triaged → Incomplete
Frank Heimes (fheimes)
summary: - 17.10: lsmem -v replaced with -V
+ lsmem -v replaced with -V
Revision history for this message
Heinz-Werner Seeck (heinz-werner-seeck) wrote :

I run a short test :
root@m3545034:~# lsmem --v
lsmem from util-linux 2.34
root@m3545034:~# lsmem -V
lsmem from util-linux 2.34
root@m3545034:~# lsmem -v
lsmem: invalid option -- 'v'
Try 'lsmem --help' for more information.

Can the testcase be changed to --v ?
or is there a need for an upstream change in util-linux ?

Revision history for this message
Frank Heimes (fheimes) wrote :

Test cases can always be adjusted - no doubt about it (and also the reason why this is marred with Importance low).

But the case here is that the "de-facto" standard is that a short version or an argument is usually introduced by one dash:
lsmem -v
and the long version by two dashes:
lsmem --version
(the latter one is fine).
Having '--v' is unusual - that's the point here ('-version' would be unusual, too).
(I personally also so no reason for the change to upper case 'V', probably not knowing all background and plans?!)

The 'de-facto' way for this argument (especially for 'version') is used in almost all other tools of the s390-tools package, like lscpumf, lszdev, lschp, lsreipl and lot's of others.

It's of course not a must to change it, but would be very reasonable.

Frank Heimes (fheimes)
Changed in s390-tools (Ubuntu):
status: New → Incomplete
Changed in ubuntu-z-systems:
assignee: bugproxy (bugproxy) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for s390-tools (Ubuntu) because there has been no activity for 60 days.]

Changed in s390-tools (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu on IBM z Systems because there has been no activity for 60 days.]

Changed in ubuntu-z-systems:
status: Incomplete → Expired
Revision history for this message
John George (jog) wrote :

Same behavior in 20.10

Frank Heimes (fheimes)
tags: added: bionic focal groovy
removed: artful
Revision history for this message
Frank Heimes (fheimes) wrote :

This got meanwhile fixed - hence changing to Fix Released and closing this.

Changed in s390-tools (Ubuntu):
status: Expired → Fix Released
Changed in ubuntu-z-systems:
status: Expired → 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.