]> git.lyx.org Git - features.git/commit
Exit with error if required filename is not given
authorScott Kostyshak <skostysh@lyx.org>
Fri, 29 Mar 2013 15:34:04 +0000 (11:34 -0400)
committerScott Kostyshak <skostysh@lyx.org>
Sat, 30 Mar 2013 04:01:39 +0000 (00:01 -0400)
commitd42c5fcd233a17c1693fd4de3702fc2ad998592d
treeb2928193231f6b62ce4d1d53c41e65ebf95c7abe
parent70eddf2c309e9d6e5db36e34539483d2dc599e86
Exit with error if required filename is not given

This is a second attempt to fix the problem described in
6df4a7bb (2c2c1767 reverted the first attempt).

The solution here is more general: if we get to a certain point
in the code and there is no filename, an error is given.

The following command now gives an error:

  lyx -e pdf2

And the following command continues to not give an error:

  lyx myfile.lyx -e pdf
src/LyX.cpp