GNU bug report logs - #10253
mention +FORMAT in ls time style reminder help blurb

Previous Next

Package: coreutils;

Reported by: jidanni <at> jidanni.org

Date: Fri, 9 Dec 2011 01:53:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Jim Meyering <jim <at> meyering.net>
To: jidanni <at> jidanni.org
Cc: 10253 <at> debbugs.gnu.org
Subject: bug#10253: mention +FORMAT in ls time style reminder help blurb
Date: Fri, 09 Dec 2011 20:22:24 +0100
jidanni <at> jidanni.org wrote:
> $ ls -t1 --time-style=%c -og
> ls: invalid argument `%c' for `time style'
> Valid arguments are:
>   - `full-iso'
>   - `long-iso'
>   - `iso'
>   - `locale'     <-------------you forgot to also mention "+FORMAT"
> Try `ls --help' for more information.
> $ ls -t1 --time-style=+%c -og

Thanks for the report.
However, that doesn't lend itself well to a clean fix, since +FORMAT
is not a literal string option argument like the others, and currently
that diagnostic is generated automatically based on the list of literal strings.

I'm inclined to leave it as-is.

Any other opinions?




This bug report was last modified 13 years and 225 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.