[csw-devel] SF.net SVN: gar:[13073] csw/mgar/gar/v2/lib/python/csw_upload_pkg.py

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Sun Jan 23 17:20:53 CET 2011


Revision: 13073
          http://gar.svn.sourceforge.net/gar/?rev=13073&view=rev
Author:   wahwah
Date:     2011-01-23 16:20:53 +0000 (Sun, 23 Jan 2011)

Log Message:
-----------
csw-upload-pkg: Usage information

Modified Paths:
--------------
    csw/mgar/gar/v2/lib/python/csw_upload_pkg.py

Modified: csw/mgar/gar/v2/lib/python/csw_upload_pkg.py
===================================================================
--- csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-01-23 14:05:41 UTC (rev 13072)
+++ csw/mgar/gar/v2/lib/python/csw_upload_pkg.py	2011-01-23 16:20:53 UTC (rev 13073)
@@ -18,7 +18,9 @@
 
 
 BASE_URL = "http://buildfarm.opencsw.org/releases/"
+USAGE = """%prog [ options ] <pkg1> [ <pkg2> [ ... ] ]
 
+Uploads a set of packages to the unstable catalog in opencsw-future."""
 
 class Error(Exception):
   pass
@@ -187,7 +189,7 @@
 
 
 if __name__ == '__main__':
-  parser = optparse.OptionParser()
+  parser = optparse.OptionParser(USAGE)
   parser.add_option("-d", "--debug",
       dest="debug",
       default=False, action="store_true")


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list