mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
tex2lyx : Also allow -h and -v command-line options, manpage update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39807 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e79b461f9e
commit
23ab7f0819
@ -83,6 +83,9 @@ named \fIfoo.lyx.lyx\fR, and the re-exported file will be named
|
||||
.TP
|
||||
.BI \-help
|
||||
Help. Print out usage information and quit.
|
||||
.TP
|
||||
.BI \-version
|
||||
Print out the version number and build information and quit.
|
||||
.SH "DESCRIPTION"
|
||||
.SS "Introduction"
|
||||
\fBtex2lyx\fR will create a LyX file with the specified name (or
|
||||
|
@ -576,8 +576,10 @@ void easyParse(int & argc, char * argv[])
|
||||
{
|
||||
map<string, cmd_helper> cmdmap;
|
||||
|
||||
cmdmap["-h"] = parse_help;
|
||||
cmdmap["-help"] = parse_help;
|
||||
cmdmap["--help"] = parse_help;
|
||||
cmdmap["-v"] = parse_version;
|
||||
cmdmap["-version"] = parse_version;
|
||||
cmdmap["--version"] = parse_version;
|
||||
cmdmap["-c"] = parse_class;
|
||||
|
Loading…
Reference in New Issue
Block a user