dwatch(1): Separate default values so `-[BK] num' don't affect usage
authordteske <dteske@FreeBSD.org>
Sat, 12 May 2018 05:41:28 +0000 (05:41 +0000)
committerdteske <dteske@FreeBSD.org>
Sat, 12 May 2018 05:41:28 +0000 (05:41 +0000)
commit6fd93270fd8f954b008fd1d987bcdcc11bba79b8
tree02b536ce73e03610eabe8696bf863c29314e7e62
parent96dfb0013905c6330238f34a43758d61b065c4fc
dwatch(1): Separate default values so `-[BK] num' don't affect usage

If you were to pass an invalid option after `-B num' or `-K num' you
would see that the usage statement would show the value you passed
instead of the actual default.

Moving the default values to separate variables that are unaffected
by the options-parsing allows the usage statement to correctly show
the hard-coded default values if no flags are used.

Sponsored by: Smule, Inc.
cddl/usr.sbin/dwatch/dwatch