]> git.lyx.org Git - lyx.git/blobdiff - lib/lyx2lyx/lyx2lyx
bare bones to convert 222
[lyx.git] / lib / lyx2lyx / lyx2lyx
index cb5097919b381258b0709ff5b957f490c384a281..c69d1ca57d7de3d728143f849fdc29a2fe8d6da6 100755 (executable)
@@ -37,7 +37,7 @@ opt.quiet = 0
 
 format = re.compile(r"(\d)[\.,]?(\d\d)")
 fileformat = re.compile(r"\\lyxformat\s*(\S*)")
-lst_ft = ["210", "215", "216", "217", "218", "220", "221"]
+lst_ft = ["210", "215", "216", "217", "218", "220", "221", "222"]
 
 def usage():
     print """Usage: lyx2lyx [options] file1
@@ -55,9 +55,9 @@ Options:
 
 
 def parse_options(argv):
-    _options =  ["help", "version", "list", "from=", "to=", "output=", "quiet"]
+    _options =  ["help", "version", "list", "debug=", "from=", "to=", "output=", "quiet"]
     try:
-       opts, args = getopt.getopt(argv[1:], "f:hlo:qt:v", _options)
+       opts, args = getopt.getopt(argv[1:], "d:f:hlo:qt:v", _options)
     except getopt.error:
         usage()
         sys.exit(2)