[Zope-CVS] CVS: Packages/zpkgtools/bin - zpkg:1.11

Fred L. Drake, Jr. fred at zope.com
Tue Mar 16 11:20:55 EST 2004


Update of /cvs-repository/Packages/zpkgtools/bin
In directory cvs.zope.org:/tmp/cvs-serv10850

Modified Files:
	zpkg 
Log Message:
tell optparse to use more natural variable names in the help text


=== Packages/zpkgtools/bin/zpkg 1.10 => 1.11 ===
--- Packages/zpkgtools/bin/zpkg:1.10	Tue Mar 16 10:59:58 2004
+++ Packages/zpkgtools/bin/zpkg	Tue Mar 16 11:20:55 2004
@@ -176,7 +176,7 @@
         version="%prog 0.1")
     parser.add_option(
         "-C", "--configure", dest="configfile",
-        help="path or URL to the configuration file")
+        help="path or URL to the configuration file", metavar="FILE")
     parser.add_option(
         "-f", dest="configfile",
         action="store_const", const="",
@@ -185,13 +185,13 @@
         "-m", "--resource-map", dest="location_maps",
         action="append",
         help=("specify an additional location map to load before"
-              " maps specified in the configuration"))
+              " maps specified in the configuration"), metavar="MAP")
     parser.add_option(
         "-n", "--name", dest="release_name",
-        help="base name of the distribution file")
+        help="base name of the distribution file", metavar="NAME")
     parser.add_option(
         "-r", "--revision-tag", dest="revision_tag",
-        help="default CVS tag to use (default: HEAD)",
+        help="default CVS tag to use (default: HEAD)", metavar="TAG",
         default="HEAD")
     parser.add_option(
         "-v", dest="version",




More information about the Zope-CVS mailing list