>From adfc0e56d8e58cab813c1d9ca96a44b2dc853fea Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Wed, 20 Aug 2008 22:35:05 +0200 Subject: [PATCH] mkfifo, mknod: put -Z option in its alphabetical position Options are normally sorted by their short form, not their long form. Also line up their descriptions. --- src/mkfifo.c | 4 ++-- src/mknod.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/mkfifo.c b/src/mkfifo.c index 690766b..04b6b4f 100644 --- a/src/mkfifo.c +++ b/src/mkfifo.c @@ -58,10 +58,10 @@ Create named pipes (FIFOs) with the given NAMEs.\n\ Mandatory arguments to long options are mandatory for short options too.\n\ "), stdout); fputs (_("\ - -Z, --context=CTX set the SELinux security context of each NAME to CTX\n\ + -m, --mode=MODE set file permission bits to MODE, not a=rw - umask\n\ "), stdout); fputs (_("\ - -m, --mode=MODE set file permission bits to MODE, not a=rw - umask\n\ + -Z, --context=CTX set the SELinux security context of each NAME to CTX\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); diff --git a/src/mknod.c b/src/mknod.c index f4028e9..13f730e 100644 --- a/src/mknod.c +++ b/src/mknod.c @@ -59,11 +59,11 @@ Create the special file NAME of the given TYPE.\n\ 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\ + fputs (_("\ + -m, --mode=MODE set file permission bits to MODE, not a=rw - umask\n\ "), stdout); fputs (_("\ - -m, --mode=MODE set file permission bits to MODE, not a=rw - umask\n\ + -Z, --context=CTX set the SELinux security context of NAME to CTX\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); -- 1.5.6.4