Commit 69de4fb4 authored by Dirk Wilden's avatar Dirk Wilden
Browse files

fixed commandline

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 5e2f7e32
......@@ -280,15 +280,17 @@ int main(int argc, char **argv)
CSimpleOpt args(argc, argv, g_rgOptions);
CSimpleOpt argBatch(argc, argv, g_rgOptions);
//check only batchMode before the core is created
while (args.Next())
if (args.OptionId() == OPT_BATCH ){
while (argBatch.Next())
if (argBatch.OptionId() == OPT_BATCH ){
CSimpleOpt args(argc, argv, g_rgOptions);
// Only Install signal handler if not running in debug version, otherwise gdb will get confused
// #ifndef DEBUG
// Set a handler for segfaults
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment