When using bwmon -h it prints a help list stating that -a is to list bit or byte usage. -a is actually used already and the package really expects -b, which would make perfect sense anyway. Find attached a patch and ebuild that fix this. Reproducible: Always
Created attachment 185815 [details, diff] fix typo's in help print
Created attachment 185816 [details, diff] patch to ebuild to use the aforementioned patch
I've also informed upstream and linked to this bugreport.
Please attach diffs when you did changes to an ebuild. That would be much more handy for our devs.
Comment on attachment 185816 [details, diff] patch to ebuild to use the aforementioned patch diff -u bwmon-1.3.ebuild bwmon-1.3-r1.ebuild --- bwmon-1.3.ebuild 2007-07-02 17:05:55.000000000 +0200 +++ bwmon-1.3-r1.ebuild 2009-03-22 16:16:04.000000000 +0100 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/bwmon/bwmon-1.3.ebuild,v 1.17 2007/07/02 14:36:59 peper Exp $ +inherit eutils + DESCRIPTION="Simple ncurses bandwidth monitor" HOMEPAGE="http://bwmon.sourceforge.net/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" @@ -17,6 +19,7 @@ src_unpack() { unpack ${A} cd ${S} + epatch "${FILESDIR}/typo_help.patch" sed -i -e "s:/usr/local/bin:\$\{DESTDIR\}usr/bin:" \ Makefile sed -i -e "s:CFLAGS =:CFLAGS = ${CFLAGS}:" \
Created attachment 185880 [details, diff] bwmon-1.3-r1.ebuild.patch
+ 30 Sep 2012; Sergey Popov <pinkbyte@gentoo.org> bwmon-1.3-r1.ebuild, + +files/bwmon-1.3-typo-fix.patch: + Add typo fix patch for help output wrt bug #263326