attrib.exe[2/4] add usage function

Jeff Zaroyko jeffzaroyko at
Sun Aug 16 00:12:59 CDT 2009

On Sun, Aug 16, 2009 at 2:12 PM, EA Durbin<ead1234 at> wrote:
> ________________________________
> Windows Live™: Keep your life in sync. Check it out.


I posted these comments on bugzilla before I also saw that you
submitted the patchset:

in patch 2, you should just use one call to printf or just puts, one call per
line is not necessary, just do as such:


Why does the usage function return 1?  I see that you propagate it as
the return value on
incorrect usage, attrib.exe still returns 0 on Windows if you give an invalid

C:\Users\jeffz>attrib +J foo
Invalid switch - +J

C:\Users\jeffz>echo %ERRORLEVEL%


More information about the wine-devel mailing list