[cygcheck] produces repeated output - 6 times!

Julio Costa costaju@gmail.com
Mon May 4 10:01:00 GMT 2009


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/



More information about the Cygwin mailing list