aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/usage.h b/include/usage.h
index 2e5321306..f9a831e85 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2542,19 +2542,18 @@
#endif
#define mktemp_trivial_usage \
- "[-dt] [-p DIR] TEMPLATE"
+ "[-dt] [-p DIR] [TEMPLATE]"
#define mktemp_full_usage "\n\n" \
- "Create a temporary file with its name based on TEMPLATE.\n" \
- "TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX).\n" \
+ "Create a temporary file with name based on TEMPLATE and print its name.\n" \
+ "TEMPLATE must end with XXXXXX (i.e., /tmp/temp.XXXXXX).\n" \
"\nOptions:" \
"\n -d Make a directory instead of a file" \
/* "\n -q Fail silently if an error occurs" - we ignore it */ \
"\n -t Generate a path rooted in temporary directory" \
"\n -p DIR Use DIR as a temporary directory (implies -t)" \
"\n" \
- "\n" \
- "For -t or -p, directory is chosen as follows:\n" \
- "$TMPDIR if set, else -p DIR, else /tmp" \
+ "\nFor -t or -p, directory is chosen as follows:" \
+ "\n$TMPDIR if set, else -p DIR, else /tmp" \
#define mktemp_example_usage \
"$ mktemp /tmp/temp.XXXXXX\n" \