If the command line option parsing code chokes on something, write

a message to the console what the problematic token was.
This commit is contained in:
hns 2003-02-25 16:14:19 +00:00
parent 84c9892a6c
commit 31ccc12e5b

View file

@ -143,8 +143,10 @@ import org.apache.xmlrpc.*;
} else if (args[i].equals ("-i") && i+1<args.length) {
// eat away the -i parameter which is meant for helma.main.launcher.Main
i++;
} else
} else {
System.err.println ("Unknown command line token: "+args[i]);
usageError = true;
}
}
// get main property file from home dir or vice versa, depending on what we have.