aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 @@
2542#endif 2542#endif
2543 2543
2544#define mktemp_trivial_usage \ 2544#define mktemp_trivial_usage \
2545 "[-dt] [-p DIR] TEMPLATE" 2545 "[-dt] [-p DIR] [TEMPLATE]"
2546#define mktemp_full_usage "\n\n" \ 2546#define mktemp_full_usage "\n\n" \
2547 "Create a temporary file with its name based on TEMPLATE.\n" \ 2547 "Create a temporary file with name based on TEMPLATE and print its name.\n" \
2548 "TEMPLATE is any name with six 'Xs' (i.e., /tmp/temp.XXXXXX).\n" \ 2548 "TEMPLATE must end with XXXXXX (i.e., /tmp/temp.XXXXXX).\n" \
2549 "\nOptions:" \ 2549 "\nOptions:" \
2550 "\n -d Make a directory instead of a file" \ 2550 "\n -d Make a directory instead of a file" \
2551/* "\n -q Fail silently if an error occurs" - we ignore it */ \ 2551/* "\n -q Fail silently if an error occurs" - we ignore it */ \
2552 "\n -t Generate a path rooted in temporary directory" \ 2552 "\n -t Generate a path rooted in temporary directory" \
2553 "\n -p DIR Use DIR as a temporary directory (implies -t)" \ 2553 "\n -p DIR Use DIR as a temporary directory (implies -t)" \
2554 "\n" \ 2554 "\n" \
2555 "\n" \ 2555 "\nFor -t or -p, directory is chosen as follows:" \
2556 "For -t or -p, directory is chosen as follows:\n" \ 2556 "\n$TMPDIR if set, else -p DIR, else /tmp" \
2557 "$TMPDIR if set, else -p DIR, else /tmp" \
2558 2557
2559#define mktemp_example_usage \ 2558#define mktemp_example_usage \
2560 "$ mktemp /tmp/temp.XXXXXX\n" \ 2559 "$ mktemp /tmp/temp.XXXXXX\n" \