Diagnose "sort -c -o FILE".
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Dec 2005 00:00:02 +0000 (00:00 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 15 Dec 2005 00:00:02 +0000 (00:00 +0000)
ChangeLog

index c827d8e..dda3b13 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,9 +3,12 @@
        * Version 6.0-cvs.
 
        * NEWS: sort now reports incompatible options.
-       * src/sort.c (check_ordering_compatibility): New function.
-       (main): Use it.
-       * tests/sort/Test.pm (incompat1, incompat2, incompat3): New tests.
+       * src/sort.c (incompatible_options, check_ordering_compatibility):
+       New functions.
+       (main): Use them.  Don't bother with a usage message for
+       "sort -c a b", for consistency with other error diagnostics.
+       * tests/sort/Test.pm (incompat1, incompat2, incompat3, incompat4):
+       New tests.
 
        * src/cat.c (main): Undo previous change.  close_stdout already
        does the check, so the previous change wasn't necessary.