NOW: version 0.58 (Re: kldfind, updated for version 0.56 )

2006-05-25 Thread Ricardo A. Reis
See the manpage for sysexits(3). Both should return EX_USAGE (64) in this case. You should only return EX_OK (0) if the command was successful. If you're spitting out usage text, return EX_USAGE. or a multi-line usage (e.g. something like bsdlabel(1)): kldfind [-qv] -c category ..

Re: kldfind, updated for version 0.56

2006-05-24 Thread Rick C. Petty
On Sun, May 21, 2006 at 02:28:29PM -0300, Ricardo A. Reis wrote: > > First about exit codes, when program is executed without options, > how this must return ? > kldunload and kldload not return the same exit codes, > >[EMAIL PROTECTED]:~/kldfind] # kldload > usage: kldload [-v]

kldfind, updated for version 0.56

2006-05-21 Thread Ricardo A. Reis
Hi all, I corrected option implementation, now kldfind accept options in any order Changelog: 0.56: Corrected use of getopts, Mupdated man with option and examples (is necessary re-view option in pod2man for pre-formate string) I've two questions, First a