Fix a bug where command line optionds like -width were not supported anymore.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@442 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-01-24 17:09:18 +00:00
parent 8bce0b7683
commit d07ed2ae94
2 changed files with 3 additions and 5 deletions

View File

@ -1,5 +1,8 @@
2000-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/lyx_main.C (easyParse): remove test for bad comand line
options, since this broke all xforms-related parsing.
* src/kbmap.C (getsym): set return type to unsigned long, as
declared in header. On an alpha, long is _not_ the same as int.

View File

@ -569,11 +569,6 @@ bool LyX::easyParse(int * argc, char * argv[])
"ps...] after ")
<< arg << _(" switch!") << endl;
}
else if((!arg.empty()) && (arg[0] == '-')) {
lyxerr << "Illegal option `" << arg << "'" <<endl;
exit(1);
}
}
return gui;
}