summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-09-30 21:55:32 +0000
committerKarl Berry <karl@freefriends.org>2006-09-30 21:55:32 +0000
commit645ce00a7a232c4944fc5f9a298eaca97efbbc12 (patch)
treeafe53a3f0b23100533d017f96e6b21479284529a
parent06ac6f4c906579e8f5eaef884fdefb9a0a585b03 (diff)
-o must be last to get the default name
git-svn-id: svn://tug.org/texlive/trunk@2228 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dvipsk/dvips.13
-rw-r--r--Build/source/texk/dvipsk/dvips.texi5
2 files changed, 5 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/dvips.1 b/Build/source/texk/dvipsk/dvips.1
index 1ff6e3f0e64..f95a933a95a 100644
--- a/Build/source/texk/dvipsk/dvips.1
+++ b/Build/source/texk/dvipsk/dvips.1
@@ -272,7 +272,8 @@ section below).
.B -o name
The output will be sent to file
.I name
-If no file name is given, the default name is
+If no file name is given (i.e., -o is last on the command line), the
+default name is
.I file.ps
where the .dvi file was called
.IR file.dvi ;
diff --git a/Build/source/texk/dvipsk/dvips.texi b/Build/source/texk/dvipsk/dvips.texi
index d8b3770815c..5ee85f36cf5 100644
--- a/Build/source/texk/dvipsk/dvips.texi
+++ b/Build/source/texk/dvipsk/dvips.texi
@@ -923,8 +923,9 @@ Kpathsea}).
@cindex output, redirecting
@cindex standard output, output to
Send output to the file @var{name}. If @samp{-o} is specified without
-@var{name}, the default is @samp{@var{file}.ps} where the input DVI file
-was @samp{@var{file}.dvi}. If @samp{-o} isn't given at all, the
+@var{name} (i.e., it is the last thing on the command line), the
+default is @samp{@var{file}.ps} where the input DVI file was
+@samp{@var{file}.dvi}. If @samp{-o} isn't given at all, the
configuration file default is used.
@findex popen @r{for output}