Eric Blake <ebb9 <at> byu.net> writes:
>
> Eric Blake <ebb9 <at> byu.net> writes:
>
> > Before I do that, how about documenting what mktemp currently does. The
> > proposed patch documents the current behavior, although it probably needs
> some
> > tweaks (and corresponding tweaks in mktemp.c) based this email.
>
> I noticed this when rereading my patch. I'll be pushing this soon...
after squashing this in, too:
diff --git i/doc/coreutils.texi w/doc/coreutils.texi
index d24a92c..3721bee 100644
--- i/doc/coreutils.texi
+++ w/doc/coreutils.texi
@@ -12187,12 +12187,12 @@ mktemp invocation
can create an object by the same name.
@item -p @var{dir}
-...@itemx --tempdi...@var{dir}]
+...@itemx --tmpdi...@var{dir}]
@opindex -p
-...@opindex --tempdir
+...@opindex --tmpdir
Treat @var{template} relative to the directory @var{dir}. If
@var{dir} is not specified (only possible with the long option
-...@option{--tempdir}) or is the empty string, use the value of
+...@option{--tmpdir}) or is the empty string, use the value of
@env{TMPDIR} if available, otherwise use @samp{/tmp}. If this is
specified, @var{template} must not be absolute. However,
@var{template} can still contain slashes, although intermediate