Possible bug in "status" command

Peter Williams pwil3058 at bigpond.net.au
Tue Mar 6 18:53:38 CST 2007


Matt Mackall wrote:
> On Tue, Mar 06, 2007 at 01:13:39PM +1000, Peter Williams wrote:
>> Peter Williams wrote:
>>> There's a discrepancy in the actual behaviour of the "i" option to the 
>>> "status" command and the documentation.  Either the documentation is 
>>> wrong or there is a bug in the status command.
> 
> Looks like the documentation is wrong.
> 
>>> The relevant part of the documentation reads:
>>>
>>> -A --all        show status of all files
>>> -m --modified   show only modified files
>>> -a --added      show only added files
>>> -r --removed    show only removed files
>>> -d --deleted    show only deleted (but tracked) files
>>> -c --clean      show only files without changes
>>> -u --unknown    show only unknown (not tracked) files
>>> -i --ignored    show ignored files
> 
> There should probably be an only in there.
> 

I'd also change the wording near the beginning of the help message to 
just say what gets displayed when no "show" flags are supplied as the 
current wording is slightly confusing.

I could supply a patch with suggested rewording if that would help?

Peter
-- 
Peter Williams                                   pwil3058 at bigpond.net.au

"Learning, n. The kind of ignorance distinguishing the studious."
  -- Ambrose Bierce


More information about the Mercurial-devel mailing list