changeset 18530:585837bbe7c3

Accept --missing as well as -missing, print less newlines.
author diego
date Wed, 17 May 2006 12:10:17 +0000
parents 21bea4385fc9
children 2c4e00fa6f0e
files TOOLS/mphelp_check.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/TOOLS/mphelp_check.py	Wed May 17 12:01:00 2006 +0000
+++ b/TOOLS/mphelp_check.py	Wed May 17 12:10:17 2006 +0000
@@ -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'