coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] maint: update out of date confusing comments


From: Pádraig Brady
Subject: [PATCH] maint: update out of date confusing comments
Date: Sun, 1 Sep 2013 18:45:48 +0100

* src/copy.c (copy_internal): Change mention of the removed --reply=no
option, to the similar in this context --no-clobber.
* src/sort.c: SI and IEC suffixes can now be mixed when --human-numeric.
---
 src/copy.c |    2 +-
 src/sort.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/copy.c b/src/copy.c
index f0cebb1..f66ab46 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -1762,7 +1762,7 @@ copy_internal (char const *src_name, char const *dst_name,
              returning early, and hence not copying/moving the file.
              This may be due to an interactive 'negative' reply to the
              prompt about the existing file.  It may also be due to the
-             use of the --reply=no option.
+             use of the --no-clobber option.
 
              cp and mv treat -i and -f differently.  */
           if (x->move_mode)
diff --git a/src/sort.c b/src/sort.c
index 062b5f9..bb4e313 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -221,7 +221,7 @@ struct keyfield
   bool general_numeric;                /* Flag for general, numeric comparison.
                                    Handle numbers in exponential notation. */
   bool human_numeric;          /* Flag for sorting by human readable
-                                   units with either SI xor IEC prefixes. */
+                                   units with either SI or IEC prefixes. */
   bool month;                  /* Flag for comparison by month name. */
   bool reverse;                        /* Reverse the sense of comparison. */
   bool version;                        /* sort by version number */
-- 
1.7.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]