# HG changeset patch # User Martin Geisler # Date 1251485583 -7200 # Node ID 70bf7f853adc6c042af7b83ad8cd72ff0cdf8159 # Parent 19d91a23458c460f52e2e451adb199360cd1c4fc run-tests: standardize on --foo instead of -f/--foo We write -f/--foo in Mercurial help texts (docstrings), but I think it looks strange in error messages. diff -r 19d91a23458c -r 70bf7f853adc tests/run-tests.py --- a/tests/run-tests.py Fri Aug 28 20:50:54 2009 +0200 +++ b/tests/run-tests.py Fri Aug 28 20:53:03 2009 +0200 @@ -176,13 +176,13 @@ raise if options.jobs < 1: - parser.error('-j/--jobs must be positive') + parser.error('--jobs must be positive') if options.interactive and options.jobs > 1: print '(--interactive overrides --jobs)' options.jobs = 1 if options.py3k_warnings: if sys.version_info[:2] < (2, 6) or sys.version_info[:2] >= (3, 0): - parser.error('Py3k warnings switch can only be used on Python 2.6+') + parser.error('--py3k-warnings can only be used on Python 2.6+') return (options, args)