subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1813804 - /subversion/trunk/build/run_tests.py
Date Mon, 30 Oct 2017 17:10:30 GMT
Author: danielsh
Date: Mon Oct 30 17:10:30 2017
New Revision: 1813804

URL: http://svn.apache.org/viewvc?rev=1813804&view=rev
Log:
* build/run_tests.py
  (main): Clarify a usage error message.

Modified:
    subversion/trunk/build/run_tests.py

Modified: subversion/trunk/build/run_tests.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/run_tests.py?rev=1813804&r1=1813803&r2=1813804&view=diff
==============================================================================
--- subversion/trunk/build/run_tests.py (original)
+++ subversion/trunk/build/run_tests.py Mon Oct 30 17:10:30 2017
@@ -1036,7 +1036,9 @@ def main():
   (opts, args) = create_parser().parse_args(sys.argv[1:])
 
   if len(args) < 3:
-    print(__doc__)
+    print("{}: at least three positional arguments required; got {!r}".format(
+      os.path.basename(sys.argv[0]), args
+    ))
     sys.exit(2)
 
   if opts.log_to_stdout:



Mime
View raw message