summaryrefslogtreecommitdiff
path: root/mktemp.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /mktemp.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'mktemp.c')
-rw-r--r--mktemp.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/mktemp.c b/mktemp.c
index 247d16d24..2ec078503 100644
--- a/mktemp.c
+++ b/mktemp.c
@@ -26,14 +26,6 @@
26#include <stdio.h> 26#include <stdio.h>
27#include <errno.h> 27#include <errno.h>
28 28
29const char mktemp_usage[] =
30 "mktemp [-q] TEMPLATE\n"
31#ifndef BB_FEATURE_TRIVIAL_HELP
32 "\nCreates a temporary file with its name based on TEMPLATE.\n"
33 "TEMPLATE is any name with six `Xs' (i.e. /tmp/temp.XXXXXX).\n"
34#endif
35 ;
36
37extern int mktemp_main(int argc, char **argv) 29extern int mktemp_main(int argc, char **argv)
38{ 30{
39 if (argc != 2 && (argc != 3 || strcmp(argv[1], "-q"))) 31 if (argc != 2 && (argc != 3 || strcmp(argv[1], "-q")))