[Swift-commit] r6707 - SwiftApps/modis/bin
    wozniak at ci.uchicago.edu 
    wozniak at ci.uchicago.edu
       
    Fri Aug  2 09:43:41 CDT 2013
    
    
  
Author: wozniak
Date: 2013-08-02 09:43:41 -0500 (Fri, 02 Aug 2013)
New Revision: 6707
Modified:
   SwiftApps/modis/bin/rgb_to_png.py
Log:
Fix usage message
Modified: SwiftApps/modis/bin/rgb_to_png.py
===================================================================
--- SwiftApps/modis/bin/rgb_to_png.py	2013-08-02 14:41:11 UTC (rev 6706)
+++ SwiftApps/modis/bin/rgb_to_png.py	2013-08-02 14:43:41 UTC (rev 6707)
@@ -50,9 +50,9 @@
     return (s2 << 16) + s1
 
 def usage():
-    print("usage: rgb_to_png.py <rgb file> <png file>")
+    print("usage: rgb_to_png.py <rgb file> <width> <height> <png file>")
 
-if (len(sys.argv) != 2):
+if (len(sys.argv) != 5):
     usage()
     exit(1)
 
    
    
More information about the Swift-commit
mailing list