[Synopsis-changes] Synopsis/Synopsis/Synopsis/Formatter Dump.py,1.1,1.2

Stefan Seefeld stefan at synopsis.fresco.org
Thu Oct 9 05:09:08 UTC 2003


Update of /cvs/synopsis/Synopsis/Synopsis/Formatter
In directory frida:/tmp/cvs-serv12227/Synopsis/Formatter

Modified Files:
	Dump.py 
Log Message:
fix option parsing

Index: Dump.py
===================================================================
RCS file: /cvs/synopsis/Synopsis/Synopsis/Formatter/Dump.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -d -r1.1 -r1.2
--- Dump.py	9 Oct 2003 05:02:39 -0000	1.1
+++ Dump.py	9 Oct 2003 05:09:06 -0000	1.2
@@ -19,6 +19,9 @@
 # 02111-1307, USA.
 #
 # $Log$
+# Revision 1.2  2003/10/09 05:09:06  stefan
+# fix option parsing
+#
 # Revision 1.1  2003/10/09 05:02:39  stefan
 # a new Dump formatter using xml for easy validation
 #
@@ -178,7 +181,7 @@ def usage():
   -d                                   Show declarations
   -t                                   Show types
   -f                                   Show files
- (If none of -d, -t or -f specified, will default to -d, -t)
+ (If none of -d, -t or -f specified, will default to -d, -t, -f)
 """
 
 def __parseArgs(args):
@@ -190,7 +193,7 @@ def __parseArgs(args):
     show_files = 0
 
     try:
-        opts,remainder = getopt.getopt(args, "o:vdtfip")
+        opts,remainder = getopt.getopt(args, "o:vdtf")
     except getopt.error, e:
         sys.stderr.write("Error in arguments: " + str(e) + "\n")
         sys.exit(1)





More information about the Synopsis-changes mailing list