diff --git a/deploy_tool/main.cpp b/deploy_tool/main.cpp index 585bf83..90ced3e 100644 --- a/deploy_tool/main.cpp +++ b/deploy_tool/main.cpp @@ -33,7 +33,7 @@ void usage() { piCout << "If depend on QtCore library, then copy all basic Qt plugins, "; piCout << " and "; piCout << ""; - piCout << Green << Bold << "Usage:" << Default << "\"deploy_tool [-hvfC] <-o | --dependencies > [-p ] [-s ] [-S ] [-l ] [-D ] [-L | -W | -M ] [-d ] [-q ] [-a ] [-S ] [-P ] \"" << NewLine; + piCout << Green << Bold << "Usage:" << Default << "\"deploy_tool [-hvfC] <-o | --dependencies [--prefix ] > [-p ] [-s ] [-S ] [-l ] [-D ] [-L | -W | -M ] [-d ] [-q ] [-a ] [-S ] [-P ] \"" << NewLine; piCout << Green << Bold << "Details:"; piCout << Bold << "Debug control"; piCout << "-h " << Green << "- display this message and exit"; @@ -56,6 +56,7 @@ void usage() { piCout << "-o " << Green << "- path for libraries copy to"; piCout << "-p " << Green << "- path for Qt plugins, default \"/plugins\""; piCout << "--dependencies " << Green << "- don`t copy, only search dependencies by and print them"; + piCout << "--prefix " << Green << "- print before dependencies"; piCout << ""; piCout << Bold << "Input control"; piCout << " " << Green << "- executable to process"; @@ -311,6 +312,7 @@ int main(int argc, char * argv[]) { cli.addArgument("Conf"); cli.addArgument("fake"); cli.addArgument("dependencies", PIChar('\0')); + cli.addArgument("prefix", PIChar('\0'), true); cli.addArgument("output", true); cli.addArgument("pqt_out_plugins", true); cli.addArgument("search_path", true); @@ -412,6 +414,7 @@ int main(int argc, char * argv[]) { } if (is_deps) { + PICout(PICoutManipulators::AddNone) << cli.argumentValue("prefix"); PICout(PICoutManipulators::AddNewLine) << PIStringList(all_deps.toVector()).join(", "); } else { piCout << "copied" << clibs.size_s() << "files";