diff -r 7266562c2bb3 Lib/trace.py --- a/Lib/trace.py Sat Oct 18 15:11:03 2014 -0700 +++ b/Lib/trace.py Sun Oct 19 14:51:25 2014 +0700 @@ -773,7 +773,7 @@ if report and not counts_file: _err_exit("--report requires a --file") - if no_report and len(prog_argv) == 0: + if (no_report or listfuncs) and len(prog_argv) == 0: _err_exit("missing name of file to run") # everything is ready