git: killall(1): Handle -h and -? options as described in man page

Aaron LI aly at crater.dragonflybsd.org
Fri Mar 12 05:12:08 PST 2021


commit 2faa2b55024da00499acf75ba21453903de0c1fc
Author: dczheng <dczheng21 at outlook.com>
Date:   Thu Mar 11 23:33:40 2021 +0000

    killall(1): Handle -h and -? options as described in man page
    
    As described in its man page, options -h and -? are supported to print
    the help text, same as -help option.  However, it didn't work and
    killall(1) gave such errors:
    
    killall: unknown signal h; valid signals: ...
    killall: unknown signal ?; valid signals: ...
    
    While there, update usage text to match the supported options.

Summary of changes:
 usr.bin/killall/killall.c | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2faa2b55024da00499acf75ba21453903de0c1fc


-- 
DragonFly BSD source repository


More information about the Commits mailing list