Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160737 - app-portage/portage-utils: tiny mkman.sh bugfix
Summary: app-portage/portage-utils: tiny mkman.sh bugfix
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-07 17:16 UTC by TGL
Modified: 2007-01-07 18:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mkman--fix-highlighting-of-options.patch (mkman--fix-highlighting-of-options.patch,696 bytes, patch)
2007-01-07 17:16 UTC, TGL
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description TGL 2007-01-07 17:16:21 UTC
For applets which accept options with an argument, like qlop, the options synopsis in the DESCRIPTION section contains some comma character.  For instance:

  ...
  SYNOPSIS
       qlop <pkgname> : emerge log analyzer
  DESCRIPTION
       Options: -[gtluscf:F:HvqChV]
  ...

But it happens that highlighting of the option lists stops at the first comma, instead of the end of the line.

The attached one-line patch fixes that, whithin the big sed command of mkman.sh.
Comment 1 TGL 2007-01-07 17:16:53 UTC
Created attachment 105883 [details, diff]
mkman--fix-highlighting-of-options.patch
Comment 2 TGL 2007-01-07 17:36:35 UTC
(In reply to comment #0)
> For applets which accept options with an argument, like qlop, the options
> synopsis in the DESCRIPTION section contains some comma character.  

Err... not "comma", "colon" i meant.
Comment 3 solar (RETIRED) gentoo-dev 2007-01-07 18:30:51 UTC
/var/cvsroot/gentoo-projects/portage-utils/man/mkman.sh,v  <--  man/mkman.sh
new revision: 1.10; previous revision: 1.9