[Top][All Lists]

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

Re: Documentation discrepancy for ls -f

From: Paul Eggert
Subject: Re: Documentation discrepancy for ls -f
Date: Sun, 05 Mar 2006 23:04:39 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

address@hidden (Niels Möller) writes:

> while the message from ls --help says
>   -f                         do not sort, enable -aU, disable -lst
> This differs with respect to the -t and --color options. That -f
> disables --color seems to match the implementation.

Thanks for reporting that.  I installed the patch below.

> I think it would also be helpful to say something about what -f is
> intended to be used for and why the option character 'f' (force) is
> selected for that.

Sorry, I don't know that one.

> should I use bug-coreutils instead?

Yes, please.

2006-03-05  Paul Eggert  <address@hidden>

        * src/ls.c (usage): Mention that -f disables --color.
        Problem reported by Niels Möller.

--- ls.c        26 Feb 2006 10:01:00 -0000      1.406
+++ ls.c        6 Mar 2006 07:02:39 -0000       1.407
@@ -4152,7 +4152,7 @@ Mandatory arguments to long options are 
   -D, --dired                generate output designed for Emacs' dired mode\n\
 "), stdout);
       fputs (_("\
-  -f                         do not sort, enable -aU, disable -lst\n\
+  -f                         do not sort, enable -aU, disable -ls --color\n\
   -F, --classify             append indicator (one of */=>@|) to entries\n\
       --file-type            likewise, except do not append `*'\n\
       --format=WORD          across -x, commas -m, horizontal -x, long -l,\n\

reply via email to

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