diff options
Diffstat (limited to 'cpp/src/Ice/PropertiesI.cpp')
-rw-r--r-- | cpp/src/Ice/PropertiesI.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/Ice/PropertiesI.cpp b/cpp/src/Ice/PropertiesI.cpp index 5a8a4a2416c..21e522ea7ee 100644 --- a/cpp/src/Ice/PropertiesI.cpp +++ b/cpp/src/Ice/PropertiesI.cpp @@ -13,6 +13,7 @@ // ********************************************************************** #include <Ice/PropertiesI.h> +#include <Ice/Initialize.h> #include <Ice/LocalException.h> #include <fstream> @@ -500,6 +501,8 @@ Ice::PropertiesI::PropertiesI(StringSeq& args) } loadConfig(); + + args = parseIceCommandLineOptions(args); } Ice::PropertiesI::PropertiesI(int& argc, char* argv[]) @@ -524,6 +527,10 @@ Ice::PropertiesI::PropertiesI(int& argc, char* argv[]) loadConfig(); + StringSeq args = argsToStringSeq(argc, argv); + args = parseIceCommandLineOptions(args); + stringSeqToArgs(args, argc, argv); + if(argc > 0) { string name = getProperty("Ice.ProgramName"); |