diff --git a/tools/test-backend b/tools/test-backend index 6511f9ceb4..6e36c7cce4 100755 --- a/tools/test-backend +++ b/tools/test-backend @@ -234,7 +234,7 @@ if __name__ == "__main__": default=False, help=("Run the tests which failed the last time " "test-backend was run. Implies --nonfatal-errors.")) - parser.add_argument('args', nargs=argparse.REMAINDER) + parser.add_argument('args', nargs='*') options = parser.parse_args() args = options.args