regtest: Accept --diff instad of plain 'diff' as long option

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2012-05-14 19:36:58 -03:00
parent 8bd68e0f24
commit 172d4683a3

View File

@ -240,7 +240,7 @@ def main(argv):
do_tool_on_files(arg, dirname, fnames, True)
else:
do_tools(when)
elif o in ('-d', 'diff'):
elif o in ('-d', '--diff'):
if len(args) > 0:
from_dir = os.path.join(regtest_output_dir,
"before", "pahole",