[MPlayer-cvslog] CVS: main/TOOLS mphelp_check.py,1.1,1.2

Diego Biurrun CVS syncmail at mplayerhq.hu
Wed May 17 14:10:19 CEST 2006


CVS change done by Diego Biurrun CVS

Update of /cvsroot/mplayer/main/TOOLS
In directory mail:/var2/tmp/cvs-serv14963/TOOLS

Modified Files:
	mphelp_check.py 
Log Message:
Accept --missing as well as -missing, print less newlines.


Index: mphelp_check.py
===================================================================
RCS file: /cvsroot/mplayer/main/TOOLS/mphelp_check.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- mphelp_check.py	16 May 2006 18:09:14 -0000	1.1
+++ mphelp_check.py	17 May 2006 12:10:17 -0000	1.2
@@ -51,16 +51,16 @@
         print 'Missing: ', ' '.join(missing)
 
 if len(sys.argv) < 3:
-    print 'Usage:\n'+sys.argv[0]+' [-missing] base_helpfile otherfile1 '\
+    print 'Usage:\n'+sys.argv[0]+' [--missing] base_helpfile otherfile1 '\
           '[otherfile2 ...]'
     sys.exit(1)
 i = 1
 show_missing = False
-if sys.argv[i] == '-missing':
+if sys.argv[i] == ( '--missing' or '-missing' ):
     show_missing = True
     i = 2
 base = parse(sys.argv[i])
 for filename in sys.argv[i+1:]:
     print '*****', filename
     compare(base, parse(filename), show_missing)
-    print '\n\n\n'
+    print '\n'




More information about the MPlayer-cvslog mailing list