Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119674 - show error message for unsupported command line options
Summary: show error message for unsupported command line options
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Other
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-01-20 04:20 UTC by Florian Steinel
Modified: 2008-02-26 22:06 UTC (History)
0 users

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


Attachments
equery-check-args-try1.diff (equery-check-args-try1.diff,8.42 KB, patch)
2006-06-03 10:11 UTC, Florian Steinel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Steinel 2006-01-20 04:20:21 UTC
When running
equery list --exact-names -p -o php
                        ^---
i expect an error that says
--exact-names is not a valid option
but it searches without an error message for php in the package names.
(This 
equery list --exact-name -p -o php
is the command the right command line option)
Comment 1 Florian Steinel 2006-01-20 04:33:39 UTC
app-portage/gentoolkit-0.2.1

Portage 2.0.53 (default-linux/x86/no-nptl/2.4, gcc-3.4.4, glibc-2.3.5-r2, 2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 3.60GHz
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
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.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="de_DE.UTF-8"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 adns apache2 berkdb bzip2 crypt curl encode expat fortran gd gdbm gif gmp imlib ipv6 jpeg libg++ libwww mcal mhash mpm-prefork ncurses nls no-suexec pam pcre perl php png postgres python readline ssl tcpd truetype truetype-fonts xml xml2 xv zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, MAKEOPTS
Comment 2 Florian Steinel 2006-06-03 10:11:03 UTC
Created attachment 88275 [details, diff]
equery-check-args-try1.diff

bail if option is unkown.
This still dosn't bail on
equery list --exact-names -p -o php
                        ^--!!! (exact-name)
Comment 3 michael@smith-li.com 2008-02-26 22:06:50 UTC
This fix went in SVN @406 and has been in stable gentoolkit a while. Closing.