diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-05-17 12:10:17 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-05-17 12:10:17 +0000 |
commit | 4997540e67216ca5bfdd1926e20f28e8cabf43a6 (patch) | |
tree | 5fec51742686aa58c81ba3a2524b9266069c51fd /TOOLS | |
parent | 00a3a6857573937f0c8e66907e7c36852741c455 (diff) | |
download | mpv-4997540e67216ca5bfdd1926e20f28e8cabf43a6.tar.bz2 mpv-4997540e67216ca5bfdd1926e20f28e8cabf43a6.tar.xz |
Accept --missing as well as -missing, print less newlines.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18531 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'TOOLS')
-rwxr-xr-x | TOOLS/mphelp_check.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TOOLS/mphelp_check.py b/TOOLS/mphelp_check.py index cc306e3de0..92c54cb70a 100755 --- a/TOOLS/mphelp_check.py +++ b/TOOLS/mphelp_check.py @@ -51,16 +51,16 @@ def compare(base, other, show_missing=False): 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' |