diff options
author | Benno Schulenberg <bensberg@justemail.net> | 2008-08-20 22:35:05 +0200 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-09-19 12:27:36 +0200 |
commit | 18efee4e2a03e0d830e9ff337bfe2b1660dd93d6 (patch) | |
tree | e326bd7756a712b7c2e3e7488553395d4237962a /src | |
parent | f923cecebafa22dd4d7e233e151b1202959fb12c (diff) | |
download | coreutils-18efee4e2a03e0d830e9ff337bfe2b1660dd93d6.tar.xz |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/mkfifo.c | 4 | ||||
-rw-r--r-- | src/mknod.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mkfifo.c b/src/mkfifo.c index 690766b07..04b6b4f29 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 f4028e94d..13f730e67 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); |