fixed usage() to reflect that -C must be the last option passed)
authorJohn P. Davis <zhen@gentoo.org>
Sun, 11 Jul 2004 21:24:15 +0000 (21:24 +0000)
committerJohn P. Davis <zhen@gentoo.org>
Sun, 11 Jul 2004 21:24:15 +0000 (21:24 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@407 d1e1f19c-881f-0410-ab34-b69fee027534

catalyst

index 4228e84ca96e2ee1dd5d90c82fa89b57a2c7a6e0..943240bb359f144e1608995571a98a5a487955cd 100755 (executable)
--- a/catalyst
+++ b/catalyst
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 # Copyright 1999-2004 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.40 2004/07/11 21:22:07 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/catalyst,v 1.41 2004/07/11 21:24:15 zhen Exp $
 
 # Maintained in full by John Davis <zhen@gentoo.org>
 
@@ -13,12 +13,12 @@ __version__="1.0.9"
 conf_values={}
 
 def usage():
-       print "Usage catalyst [-f file] [variable=value...]"
+       print "Usage catalyst [options] [-C variable=value...]"
        print " -h --help               print this help message"
        print " -v --version            display version information"
        print " -d --debug              enable debugging"
        print " -c --config             use specified configuration file"
-       print " -C --cli                catalyst commandline"
+       print " -C --cli                catalyst commandline (MUST BE LAST OPTION)"
        print " -f --file               read specfile"
        print " -V --verbose            verbose output"