diff options
| author | Bo Borgerson <gigabo@gmail.com> | 2008-04-04 11:13:13 -0400 |
|---|---|---|
| committer | Jim Meyering <meyering@redhat.com> | 2008-06-08 12:11:47 +0200 |
| commit | 6eec737ade63bd48e0cccd66c021dd5523100f06 (patch) | |
| tree | 654d2b69b59db68fd6679fdfc66fc8d86dccc7be /src/install.c | |
| parent | syntax-check: detect anachronistic Perl-based tests (diff) | |
| download | coreutils-6eec737ade63bd48e0cccd66c021dd5523100f06.tar.gz coreutils-6eec737ade63bd48e0cccd66c021dd5523100f06.zip | |
standardize some error messages
* maint.mk: (sc_error_message_warn_fatal, sc_error_message_uppercase):
(sc_error_message_period): Add automatic checks for non-standard error
messages.
* .x-sc_error_message_uppercase: explicit exclusion for this check
* src/cp.c: Standardize some error messages.
* src/date.c: Likewise.
* src/dircolors.c: Likewise.
* src/du.c: Likewise.
* src/expr.c: Likewise.
* src/install.c: Likewise.
* src/join.c: Likewise.
* src/ln.c: Likewise.
* src/mv.c: Likewise.
* src/od.c: Likewise.
* src/pr.c: Likewise.
* src/split.c: Likewise.
* src/truncate.c: Likewise.
* src/wc.c: Likewise.
* tests/du/files0-from: Expect new error message.
* tests/misc/join: Likewise.
* tests/misc/split-a: Likewise.
* tests/misc/wc-files0-from: Likewise.
* tests/misc/xstrtol: Likewise.
* lib/xmemxfrm.c: Likewise.
Diffstat (limited to 'src/install.c')
| -rw-r--r-- | src/install.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/install.c b/src/install.c index aa14b948d..0d3927df4 100644 --- a/src/install.c +++ b/src/install.c @@ -420,8 +420,8 @@ main (int argc, char **argv) case PRESERVE_CONTEXT_OPTION: if ( ! selinux_enabled) { - error (0, 0, _("Warning: ignoring --preserve-context; " - "this kernel is not SELinux-enabled.")); + error (0, 0, _("WARNING: ignoring --preserve-context; " + "this kernel is not SELinux-enabled")); break; } x.preserve_security_context = true; @@ -430,8 +430,8 @@ main (int argc, char **argv) case 'Z': if ( ! selinux_enabled) { - error (0, 0, _("Warning: ignoring --context (-Z); " - "this kernel is not SELinux-enabled.")); + error (0, 0, _("WARNING: ignoring --context (-Z); " + "this kernel is not SELinux-enabled")); break; } scontext = optarg; @@ -487,7 +487,7 @@ main (int argc, char **argv) { if (target_directory) error (EXIT_FAILURE, 0, - _("Cannot combine --target-directory (-t) " + _("cannot combine --target-directory (-t) " "and --no-target-directory (-T)")); if (2 < n_files) { |
