mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 15:46:16 +00:00
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:
parent
8bce0b7683
commit
d07ed2ae94
@ -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.
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user