summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/mktemp/mktemp.17
-rw-r--r--usr.bin/mktemp/mktemp.c4
2 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/mktemp/mktemp.1 b/usr.bin/mktemp/mktemp.1
index da93d35..0e67404 100644
--- a/usr.bin/mktemp/mktemp.1
+++ b/usr.bin/mktemp/mktemp.1
@@ -44,7 +44,12 @@
.Op Fl q
.Op Fl t Ar prefix
.Op Fl u
-.Op Ar template ...
+.Ar template ...
+.Nm mktemp
+.Op Fl d
+.Op Fl q
+.Op Fl u
+.Fl t Ar prefix
.Sh DESCRIPTION
The
.Nm
diff --git a/usr.bin/mktemp/mktemp.c b/usr.bin/mktemp/mktemp.c
index 381872d..3fe079f 100644
--- a/usr.bin/mktemp/mktemp.c
+++ b/usr.bin/mktemp/mktemp.c
@@ -145,6 +145,8 @@ static void
usage()
{
fprintf(stderr,
- "usage: mktemp [-d] [-q] [-t prefix] [-u] [template ...]\n");
+ "usage: mktemp [-d] [-q] [-t prefix] [-u] template ...\n");
+ fprintf(stderr,
+ " mktemp [-d] [-q] [-u] -t prefix \n");
exit (1);
}
OpenPOWER on IntegriCloud