Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78097 - quickpkg doesn't honor either --help nor -h/-?
Summary: quickpkg doesn't honor either --help nor -h/-?
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-01-15 08:41 UTC by Yrjo Hatakka
Modified: 2005-07-14 06:58 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yrjo Hatakka 2005-01-15 08:41:25 UTC
kynsi src # quickpkg --help
 * Could not find anything to match '--help'; skipping
 * No packages found
kynsi src # quickpkg -h
 * Could not find anything to match '-h'; skipping
 * No packages found
kynsi src # quickpkg -?
 * Could not find anything to match '-?'; skipping
 * No packages found


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




kynsi src # quickpkg 
QUICKPKG ver 1.2 
USAGE: quickpkg <list of pkgs> 
    a pkg can be of the form: 
        - /var/db/pkg/<CATEGORY>/<PKG-VERSION>/ 
        - single depend-type atom ... 
              if portage can emerge it, quickpkg can make a package 
              for exact definitions of depend atoms, see ebuild(5) 
 
EXAMPLE: 
    quickpkg /var/db/pkg/net-www/apache-1.3.27-r1 
        package up apache, just version 1.3.27-r1 
    quickpkg apache 
        package up apache, all versions of apache installed 
    quickpkg =apache-1.3.27-r1 
        package up apache, just version 1.3.27-r1
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2005-01-15 13:55:43 UTC
man quickpkg
Comment 2 SpanKY gentoo-dev 2005-01-16 10:12:06 UTC
i dont see why we cant accommodate this considering if you run `quickpkg` you get back usage info ...

Index: quickpkg
===================================================================
RCS file: /var/cvsroot/gentoo-src/portage/bin/quickpkg,v
retrieving revision 1.13.2.3
diff -u -r1.13.2.3 quickpkg
--- quickpkg    17 Nov 2004 04:04:45 -0000      1.13.2.3
+++ quickpkg    16 Jan 2005 18:11:18 -0000
@@ -15,7 +15,7 @@
 fi
 
 export PORTAGE_DB="$(portageq vdb_path)"
-if [ -z $1 ] ; then
+if [ -z $1 ] || [ $1 == "-h" ] || [ $1 == "--help" ] ; then
        echo "QUICKPKG ver 1.2"
        echo "USAGE: quickpkg <list of pkgs>"
        echo "    a pkg can be of the form:"
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:32 UTC
Fixed on or before 2.0.51.22-r1 
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:22 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.