cvs commit: src/bin/ls ls.1 ls.c

John Baldwin jhb at freebsd.org
Fri Mar 24 20:17:23 UTC 2006


On Friday 24 March 2006 14:53, Ruslan Ermilov wrote:
> On Fri, Mar 24, 2006 at 05:09:03PM +0000, John Baldwin wrote:
> > jhb         2006-03-24 17:09:03 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     bin/ls               ls.1 ls.c 
> >   Log:
> >   Change the -S and -t options to override each other so that the last one
> >   specified wins to make their interaction less confusing.
> >   
> >   Revision  Changes    Path
> >   1.98      +7 -0      src/bin/ls/ls.1
> >   1.85      +3 -0      src/bin/ls/ls.c
> > 
> We should grow the enum that indicates the sorting wanted, and
> have only one variable for sorting method, and remove all this
> crap that resets "all other sorting flags" to zeroes.  ;)

Yes, one could do that. :)  There should be an enum for the type of
timestamp to use, and another one for the type of sorting algo. :)

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list