Commit ceb7fc99 authored by Martin Schultz's avatar Martin Schultz

removed /b and /batch from nogui check.

parent e6638ef0
......@@ -452,8 +452,7 @@ int main(int argc, char **argv)
for (int i = 1; i < argc; i++) {
QString option = QString(argv[i]);
if (option.contains("batch") || option.contains("-b") ||
option.contains("--batch") || option.contains("/b") ||
option.contains("/batch" )) {
option.contains("--batch")) {
std::cerr << "Batch Mode started" << std::endl;
OpenFlipper::Options::nogui(true);
}
......
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