]> git.lyx.org Git - lyx.git/commitdiff
Fix a bug where command line optionds like -width were not supported anymore.
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 24 Jan 2000 17:09:18 +0000 (17:09 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 24 Jan 2000 17:09:18 +0000 (17:09 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@442 a592a061-630c-0410-9148-cb99ea01b6c8

ChangeLog
src/lyx_main.C

index 31fd14a3a179699bd2c09884029d6b45344d8008..400a49a05e1efe2fb5760e39186c7d51b949450e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
 
index 98a0ebbaf4ce51b88682925821f52bcb1bdd95fd..d63e27532b2c3b3849f1f8813e250ad1d0455560 100644 (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;
 }