Trivial bug in man documentation: forgotten --strip-unneeded option in objcopy SYNOPSIS

Bug #1631631 reported by Oleksandr Pikozh
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
One Hundred Papercuts
Fix Released
Medium
Unassigned
binutils (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

In the man page of "objcopy" the "--strip-unneeded" option:
- is described in OPTIONS section;
- but is forgotten in SYNOPSIS section (don't confuse with "--strip-unneeded-symbol=" and "--strip-unneeded-symbols=", which aren't forgotten).

$ lsb_release -rd
Description: Ubuntu 16.04.1 LTS
Release: 16.04

$ apt-cache policy binutils
binutils:
  Installed: 2.26.1-1ubuntu1~16.04.3
  Candidate: 2.26.1-1ubuntu1~16.04.3
  Version table:
 *** 2.26.1-1ubuntu1~16.04.3 500
        500 http://ua.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.26-8ubuntu2 500
        500 http://ua.archive.ubuntu.com/ubuntu xenial/main amd64 Packages

I expected SYNOPSIS and OPTIONS sections of the man page of "objcopy" to be consistent.

Option "--strip-unneeded" present in OPTIONS section, is absent in SYNOPSIS section.

Related branches

Revision history for this message
Oleksandr Pikozh (o-pikozh) wrote :
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Thanks for taking your time to report this issue and help making Ubuntu better.

I can confirm that the --strip-unneeded option is still missing from the objcopy manpage in binutils 2.27-8ubuntu2 on Ubuntu Yakkety.

Changed in binutils (Ubuntu):
status: New → Confirmed
tags: added: bitesize xenial yakkety
Changed in binutils (Ubuntu):
importance: Undecided → Medium
Changed in hundredpapercuts:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Paul White (paulw2u) wrote :

--strip-unneeded is included in the SYNOPSIS section of the objcopy manpage for binutils 2.33.90.20200122-1ubuntu2 (focal release) so closing as fixed

Changed in binutils (Ubuntu):
status: Confirmed → Fix Released
Changed in hundredpapercuts:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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