]> git.ipfire.org Git - thirdparty/coreutils.git/commit
mktemp: synchronize the -p option with docs
authorPádraig Brady <P@draigBrady.com>
Sat, 21 Sep 2013 02:33:12 +0000 (03:33 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 6 Oct 2013 16:59:00 +0000 (17:59 +0100)
commit8e67c2dec1a595619d540bc3e52c2dfcf61a63a3
treebc38b0af9c9560870226e56163ed92466a712609
parentb72d08ef63093e040a24bcea479c036ba513f9d5
mktemp: synchronize the -p option with docs

* src/mktemp.c (usage): Synchronize the -p option description with
the logic and info docs.  I.E. that -p is just an alias of --tmpdir.
Also for consistency treat --tmpdir='' the same with or without -t.
I.E. always ignore the --tmpdir option if the param is empty.
Fixes http://bugs.gnu.org/15425
src/mktemp.c