Add format hint for command line export

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21623 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2007-11-15 12:14:39 +00:00
parent fa2693ae3d
commit a5449f2b7d
2 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,7 @@ where command is a lyx command.
.TP .TP
\fB \-e [\-\-export]\fP \fIfmt \fB \-e [\-\-export]\fP \fIfmt
where fmt is the export format of choice. where fmt is the export format of choice.
Look on Tools->Preferences->File formats->Format to get an idea which parameters should be passed.
.TP .TP
\fB \-i [\-\-import]\fP \fIfmt file.xxx \fB \-i [\-\-import]\fP \fIfmt file.xxx
where fmt is the import format of choice and file.xxx is the file to be imported. where fmt is the import format of choice and file.xxx is the file to be imported.

View File

@ -1289,6 +1289,8 @@ int parse_help(string const &, string const &)
" where command is a lyx command.\n" " where command is a lyx command.\n"
"\t-e [--export] fmt\n" "\t-e [--export] fmt\n"
" where fmt is the export format of choice.\n" " where fmt is the export format of choice.\n"
" Look on Tools->Preferences->File formats->Format\n"
" to get an idea which parameters should be passed.\n"
"\t-i [--import] fmt file.xxx\n" "\t-i [--import] fmt file.xxx\n"
" where fmt is the import format of choice\n" " where fmt is the import format of choice\n"
" and file.xxx is the file to be imported.\n" " and file.xxx is the file to be imported.\n"