1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-07-25 18:19:00 +02:00

chcon, runcon: make --help print the bug-reporting address

* src/chcon.c (usage): Use emit_bug_reporting_address.
* src/runcon.c (usage): Likewise.
* tests/misc/help-version: Don't exempt chcon and runcon.
* NEWS: Mention this.
This commit is contained in:
Jim Meyering
2008-04-26 09:14:55 +02:00
parent 28f1b61e59
commit bbc0cb0f37
4 changed files with 4 additions and 2 deletions
+2
View File
@@ -4,6 +4,8 @@ GNU coreutils NEWS -*- outline -*-
** Bug fixes
chcon, runcon: --help output now includes the bug-reporting address
id with no options now prints the SELinux context only when invoked
with no USERNAME argument.
+1
View File
@@ -400,6 +400,7 @@ one takes effect.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
emit_bug_reporting_address ();
}
exit (status);
}
+1
View File
@@ -85,6 +85,7 @@ With neither CONTEXT nor COMMAND, print the current security context.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
emit_bug_reporting_address ();
}
exit (status);
}
-2
View File
@@ -47,8 +47,6 @@ for lang in C fr da; do
# Skip `test'; it doesn't accept --help or --version.
test $i = test && continue;
test $i = chcon && continue;
test $i = runcon && continue;
# false fails even when invoked with --help or --version.
if test $i = false; then