emaint seems to be inconsistent: ... henke ~ # emaint -c world Attempting to fix world henke ~ # emaint --check world Checking world for problems ... Reproducible: Always Steps to Reproduce: Fri Oct 7 08:52:49 CEST 2005 Gentoo Base System version 1.6.13 Portage 2.0.53_rc4 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.12- gentoo-r10-JeR i586) ================================================================= System uname: 2.6.12-gentoo-r10-JeR i586 AMD-K6(tm) 3D processor dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i586-pc-linux-gnu" CFLAGS="-Os -march=i586 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/ fax /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/ config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-Os -march=i586 -pipe" DISTDIR="/keeps/gentoo/portage/distfiles" FEATURES="autoconfig buildpkg distlocks notitles prelink sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.snt.utwente.nl/ pub/os/linux/gentoo ftp://mirror.scarlet-internet.nl/pub/gentoo ftp://mirror. nutsmaas.nl/gentoo/" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/keeps/gentoo/packages-i586" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/keeps/gentoo/portage" PORTDIR_OVERLAY="/keeps/gentoo/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow aac alsa apache2 apm avi bash-completion berkdb bitmap-fonts chroot crypt cups curl eds elf emboss encode fax ffmpeg flash foomaticdb fortran gd gdbm gif gimpprint gpm gstreamer imagemagick ipv6 jpeg lcms ldap libg++ libwww lzo mad matroska mikmod mmx mng mp3 mpeg multitarget ncurses network nls nptl nptlonly offensive ogg oggvorbis oss pam pdflib perl physfs pic png ppds python quicktime readline samba scanner screenshot sftplogging slang smux snmp spell ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis winbind wmf xml xml2 xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS
So what?
(In reply to comment #1) > So what? henke ~ # emaint --help usage: emaint [options] all | world options: -h, --help show this help message and exit -c, --check check for problems <<<<< -f, --fix attempt to fix problems
Created attachment 70075 [details, diff] Rework to optparse's behaviour [quote] opt_str is the option string seen on the command-line that's triggering the callback. (If an abbreviated long option was used, opt_str will be the full, canonical option string--e.g. if the user puts "-foo" on the command-line as an abbreviation for "-foobar", then opt_str will be "-foobar".) [/quote] First time I've ever encountered incorrect documentation on Linux. :(
Fixed in 2.0.53_rc5
.