From: Benno Schulenberg Date: Wed, 20 Aug 2008 20:35:05 +0000 (+0200) Subject: mkfifo, mknod --help: put -Z option in its alphabetical position X-Git-Tag: v7.0~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=18efee4e2a03e0d830e9ff337bfe2b1660dd93d6;p=thirdparty%2Fcoreutils.git mkfifo, mknod --help: put -Z option in its alphabetical position Options are normally sorted by their short form, not their long form. Also line up their descriptions. --- diff --git a/src/mkfifo.c b/src/mkfifo.c index 690766b070..04b6b4f29a 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 f4028e94d7..13f730e67f 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);