'kill --list' and 'kill --version' complain "not enough arguments"

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Mar 15 21:13:03 GMT 2023


On Mar 15 13:51, Jeremy Hetzler via Cygwin wrote:
> Hello all.
> 
> Both 'kill --list' and 'kill --version' produce a warning "not enough
> arguments".
> 
> > $ uname -a
> > CYGWIN_NT-10.0-22621 DFJWVD3 3.4.6-1.x86_64 2023-02-14 13:23 UTC x86_64 Cygwin
> >
> > $ /bin/kill --list
> > kill: not enough arguments
> > HUP INT QUIT ILL TRAP ABRT EMT FPE KILL BUS SEGV SYS PIPE ALRM TERM URG STOP TSTP CONT CHLD TTIN TTOU IO XCPU XFSZ VTALRM PROF WINCH PWR USR1 USR2 RTMIN RTMIN + 1 RTMIN + 2 RTMIN + 3 RTMIN + 4 RTMIN + 5 RTMIN + 6 RTMIN + 7 RTMIN + 8 RTMIN + 9 RTMIN + 10 RTMIN + 11 RTMIN + 12 RTMIN + 13 RTMIN + 14 RTMIN + 15 RTMIN + 16 RTMIN + 17 RTMIN + 18 RTMIN + 19 RTMIN + 20 RTMIN + 21 RTMIN + 22 RTMIN + 23 RTMIN + 24 RTMIN + 25 RTMIN + 26 RTMIN + 27 RTMIN + 28 RTMIN + 29 RTMIN + 30 RTMIN + 31
> >
> > $ /bin/kill --version
> > kill (cygwin) 3.4.6
> > Process Signaller
> > Copyright (C) 1996 - 2023 Cygwin Authors
> > This is free software; see the source for copying conditions.  There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> > kill: not enough arguments
> >
> 
> Seems like --list and --version are complete subcommands, like --help,
> and therefore shouldn't produce this warning.

Thanks for the report, I pushed a patch.

A new cygwin test release 3.5.0-0.239.g2a4dd6a23999 is just building and
should be installable via setup shortly.


Corinna


More information about the Cygwin mailing list