diff --git a/deploy_tool/main.cpp b/deploy_tool/main.cpp index fb3d0c0..585bf83 100644 --- a/deploy_tool/main.cpp +++ b/deploy_tool/main.cpp @@ -324,8 +324,6 @@ int main(int argc, char * argv[]) { cli.addArgument("depth", true); cli.addArgument("qtdir", true); cli.addArgument("add_libs", true); - piDebug = cli.hasArgument("verbose"); - fake = cli.hasArgument("fake"); is_deps = cli.hasArgument("dependencies"); if (cli.hasArgument("help") || (cli.argumentValue("output").isEmpty() && !is_deps) || (cli.optionalArguments().size_s() != 1)) { usage(); @@ -333,6 +331,8 @@ int main(int argc, char * argv[]) { } setCommands(); + fake = cli.hasArgument("fake"); + piDebug = cli.hasArgument("verbose"); PIString bin = cli.optionalArguments()[0]; out_dir = cli.argumentValue("output"); lib_dirs = cli.argumentValue("search_path").split(";");