.TP
.BI \-help
Help. Print out usage information and quit.
.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
.SH "DESCRIPTION"
.SS "Introduction"
\fBtex2lyx\fR will create a LyX file with the specified name (or
{
map<string, cmd_helper> cmdmap;
{
map<string, cmd_helper> cmdmap;
+ cmdmap["-h"] = parse_help;
cmdmap["-help"] = parse_help;
cmdmap["--help"] = 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;
cmdmap["-version"] = parse_version;
cmdmap["--version"] = parse_version;
cmdmap["-c"] = parse_class;