bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mknod --help fix


From: Andreas Schwab
Subject: mknod --help fix
Date: Fri, 18 Jul 2008 17:37:41 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2 (gnu/linux)

Like mkfifo, mknod has its --help output mangled.

Andreas.
---
mknod: correct misplaced -Z description in --help output

* src/mknod.c (usage): Put it after the "Mandatory arguments..." line.
---
diff --git a/src/mknod.c b/src/mknod.c
index d93e2cb..f4028e9 100644
--- a/src/mknod.c
+++ b/src/mknod.c
@@ -56,12 +56,12 @@ usage (int status)
 Create the special file NAME of the given TYPE.\n\
 \n\
 "), stdout);
-      fputs(_("\
-  -Z, --context=CTX  set the SELinux security context of NAME to CTX\n\
-"), stdout);
       fputs (_("\
 Mandatory arguments to long options are mandatory for short options too.\n\
 "), stdout);
+      fputs(_("\
+  -Z, --context=CTX  set the SELinux security context of NAME to CTX\n\
+"), stdout);
       fputs (_("\
   -m, --mode=MODE   set file permission bits to MODE, not a=rw - umask\n\
 "), stdout);

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]