summaryrefslogtreecommitdiff
path: root/coreutils/mknod.c
diff options
context:
space:
mode:
authorMatt Kraai2000-07-16 20:57:15 +0000
committerMatt Kraai2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /coreutils/mknod.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-bf181b9338152759fd56c8009e9a962a84808e7c.zip
busybox-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
Extract usage information into a separate file.
Diffstat (limited to 'coreutils/mknod.c')
-rw-r--r--coreutils/mknod.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/coreutils/mknod.c b/coreutils/mknod.c
index ac96817..b51c8f3 100644
--- a/coreutils/mknod.c
+++ b/coreutils/mknod.c
@@ -28,18 +28,6 @@
#include <fcntl.h>
#include <unistd.h>
-static const char mknod_usage[] = "mknod [OPTIONS] NAME TYPE MAJOR MINOR\n"
-#ifndef BB_FEATURE_TRIVIAL_HELP
- "\nCreate a special file (block, character, or pipe).\n\n"
- "Options:\n"
- "\t-m\tcreate the special file using the specified mode (default a=rw)\n\n"
- "TYPEs include:\n"
- "\tb:\tMake a block (buffered) device.\n"
- "\tc or u:\tMake a character (un-buffered) device.\n"
- "\tp:\tMake a named pipe. MAJOR and MINOR are ignored for named pipes.\n"
-#endif
- ;
-
int mknod_main(int argc, char **argv)
{
char *thisarg;