summaryrefslogtreecommitdiffhomepage
path: root/coreutils/mknod.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-11-10 23:13:02 +0000
committerEric Andersen <andersen@codepoet.org>1999-11-10 23:13:02 +0000
commitd73dc5b07390fb90e7f605871c993a28eedf1d46 (patch)
tree3e448e6550da52d2709e5f52fbae56e9df9462cc /coreutils/mknod.c
parent84d85680712573c7a8bd7d0491c3f944dc08ad10 (diff)
Updates to usage, and made tar work.
-Erik
Diffstat (limited to 'coreutils/mknod.c')
-rw-r--r--coreutils/mknod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/mknod.c b/coreutils/mknod.c
index 81c846b98..c3389cc71 100644
--- a/coreutils/mknod.c
+++ b/coreutils/mknod.c
@@ -27,9 +27,9 @@
#include <fcntl.h>
#include <unistd.h>
-static const char mknod_usage[] = "mknod file b|c|u|p major minor\n"
-"\tMake special files.\n"
-"\n"
+static const char mknod_usage[] = "mknod [OPTION]... NAME TYPE MAJOR MINOR\n\n"
+"Make block or character special files.\n\n"
+"Options:\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";