From 34eaae8d731d9859bbe267219f0eb0fda242a95d Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Fri, 24 Mar 2017 18:14:30 +0100 Subject: [PATCH] [platform] adds missing '--temp-directory' option support to launcher.py (IDEA-165592) --- platform/platform-resources/src/launcher.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/platform/platform-resources/src/launcher.py b/platform/platform-resources/src/launcher.py index c1185edd0778..3bf5a890018f 100644 --- a/platform/platform-resources/src/launcher.py +++ b/platform/platform-resources/src/launcher.py @@ -31,9 +31,7 @@ def process_args(argv): if arg == '-h' or arg == '-?' or arg == '--help': print_usage(argv[0]) exit(0) - elif arg == 'diff' and i == 0: - args.append(arg) - elif arg == 'merge' and i == 0: + elif i == 0 and (arg == 'diff' or arg == 'merge' or arg == '--temp-project'): args.append(arg) elif arg == '-l' or arg == '--line': args.append(arg)