mknod --help: note that this command may be a shell built-in
authorJim Meyering <meyering@redhat.com>
Wed, 16 Apr 2008 12:21:40 +0000 (14:21 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 16 Apr 2008 12:21:40 +0000 (14:21 +0200)
* src/mknod.c (usage): Print USAGE_BUILTIN_WARNING.
Suggestion from Eric Blake.

src/mknod.c

index 8a1718d..445117c 100644 (file)
@@ -83,6 +83,7 @@ otherwise, as decimal.  TYPE may be:\n\
   c, u   create a character (unbuffered) special file\n\
   p      create a FIFO\n\
 "), stdout);
+      printf (USAGE_BUILTIN_WARNING, PROGRAM_NAME);
       emit_bug_reporting_address ();
     }
   exit (status);