]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
shuf: convert error diagnostic to lowercase
authorBernhard Voelker <mail@bernhard-voelker.de>
Wed, 26 Feb 2014 07:36:50 +0000 (08:36 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 26 Feb 2014 11:26:24 +0000 (11:26 +0000)
* src/shuf.c (main): s/No/no/, introduced by commit v8.22-25-g9f60f37.
* NEWS: Also adjust the NEWS for that recent commit to make it
clear this was new bug rather than a regression.

Prompted by the syntax-check rule sc_error_message_uppercase

NEWS
src/shuf.c

diff --git a/NEWS b/NEWS
index 2df246d49d4b5a59a50f3594f2768ab86f568c4e..be8311f491bf9b217f88f328965d92a7df083ce0 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -22,8 +22,8 @@ GNU coreutils NEWS                                    -*- outline -*-
   it would display an error, requiring --no-dereference to avoid the issue.
   [bug introduced in coreutils-5.3.0]
 
-  shuf -r no longer dumps core if the input is empty.
-  [bug introduced in coreutils-8.22]
+  shuf --repeat no longer dumps core if the input is empty.
+  [bug introduced with the --repeat feature in coreutils-8.22]
 
 ** New features
 
index 2a910728e97c8e77cd46d79921213445606c9e47..6ae07554975f818b9ef7bffd026e3dbc3a6017ab 100644 (file)
@@ -581,7 +581,7 @@ main (int argc, char **argv)
       else
         {
           if (n_lines == 0)
-            error (EXIT_FAILURE, 0, _("No lines to repeat"));
+            error (EXIT_FAILURE, 0, _("no lines to repeat"));
           if (input_range)
             i = write_random_numbers (randint_source, head_lines,
                                       lo_input, hi_input, eolbyte);