This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [cygcheck] produces repeated output - 6 times!


On Mon, May 4, 2009 at 09:25, Corinna Vinschen wrote:
>
> Bug in user as far as the position of the -v option is concerned.
> Try this:
>
> $ cygcheck -v /bin/ash.exe
> c:\cygwin\bin\ash.exe - os=4.0 img=1.0 sys=4.0
> ÂC:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
> Â Â"cygwin1.dll" v0.0 ts=2009/5/4 9:45
> Â ÂC:\WINDOWS\system32\ADVAPI32.DLL - os=5.1 img=5.1 sys=4.0
> Â Â Â"ADVAPI32.dll" v0.0 ts=2009/2/6 12:02
> Â Â ÂC:\WINDOWS\system32\KERNEL32.dll - os=5.1 img=5.1 sys=4.0
> Â Â Â Â"KERNEL32.dll" v0.0 ts=2009/3/21 12:36
> Â Â Â ÂC:\WINDOWS\system32\ntdll.dll - os=5.1 img=5.1 sys=4.10
> Â Â Â Â Â"ntdll.dll" v0.0 ts=2009/2/6 12:01
> Â Â ÂC:\WINDOWS\system32\ntdll.dll (already done)
> Â Â ÂC:\WINDOWS\system32\RPCRT4.dll - os=5.1 img=5.1 sys=4.10
> Â Â Â Â"RPCRT4.dll" v0.0 ts=2008/4/13 21:20
> Â Â Â ÂC:\WINDOWS\system32\ADVAPI32.dll (recursive)
> Â Â Â ÂC:\WINDOWS\system32\KERNEL32.dll (already done)
> Â Â Â ÂC:\WINDOWS\system32\ntdll.dll (already done)
> Â Â Â ÂC:\WINDOWS\system32\Secur32.dll - os=5.1 img=5.1 sys=4.0
> Â Â Â Â Â"Secur32.dll" v0.0 ts=2009/2/3 12:24
> Â Â Â Â ÂC:\WINDOWS\system32\ADVAPI32.dll (recursive)
> Â Â Â Â ÂC:\WINDOWS\system32\KERNEL32.dll (already done)
> Â Â Â Â ÂC:\WINDOWS\system32\ntdll.dll (already done)
> Â ÂC:\WINDOWS\system32\KERNEL32.dll (already done)
> Â ÂC:\WINDOWS\system32\ntdll.dll (already done)
> ÂC:\WINDOWS\system32\KERNEL32.dll (already done)
>

Yes, you are right. Only yesterday I found out that - and I had to do
source-code analisys to came to that conclusion!
Why on earth, do you ask? Because:

~ $ cygcheck -h
Usage: cygcheck PROGRAM [ -v ] [ -h ]
       cygcheck -c [ PACKAGE ] [ -d ]
       cygcheck -s [ -r ] [ -v ] [ -h ]
       cygcheck -k
       cygcheck -f FILE [ FILE ... ]
       cygcheck -l [ PACKAGE ] [ PACKAGE ... ]
       cygcheck -p REGEXP
List system information, check installed packages, or query package database.
[snip]

Let me zoom on that:
cygcheck
**(followed by)**
PROGRAM
**(and THEN)**
 [ -v ] [ -h ]

So, at least, a doc bug.
Unfortunately, I'm so doc biased, that I had to do source code
analysis to came to this simple conclusion - fortunately, YMMV :)
Also, besides the usage message issue, I think that it should had
complained about the inexistent '-v' file - that would had give me a
tip.

___________
Julio Costa

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]