diff --git a/examples/builder/examples.cpp b/examples/builder/examples.cpp index d3c7f05..4e02c7b 100644 --- a/examples/builder/examples.cpp +++ b/examples/builder/examples.cpp @@ -600,9 +600,12 @@ private: //------------------------------------------------------------------------------ int main(int argc, char **argv) { - if(argc > 1) + if(argc > 2) { - USER_DIRECTORY = argv[1]; + if(strcmp(argv[1], "-f") == 0) + { + USER_DIRECTORY = argv[2]; + } } Application app = Application::New(&argc, &argv);