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:
parent
8bd68e0f24
commit
172d4683a3
2
regtest
2
regtest
|
@ -240,7 +240,7 @@ def main(argv):
|
||||||
do_tool_on_files(arg, dirname, fnames, True)
|
do_tool_on_files(arg, dirname, fnames, True)
|
||||||
else:
|
else:
|
||||||
do_tools(when)
|
do_tools(when)
|
||||||
elif o in ('-d', 'diff'):
|
elif o in ('-d', '--diff'):
|
||||||
if len(args) > 0:
|
if len(args) > 0:
|
||||||
from_dir = os.path.join(regtest_output_dir,
|
from_dir = os.path.join(regtest_output_dir,
|
||||||
"before", "pahole",
|
"before", "pahole",
|
||||||
|
|
Loading…
Reference in New Issue