public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 'kill --list' and 'kill --version' complain "not enough arguments"
@ 2023-03-15 17:51 Jeremy Hetzler
  2023-03-15 21:13 ` Corinna Vinschen
  0 siblings, 1 reply; 2+ messages in thread
From: Jeremy Hetzler @ 2023-03-15 17:51 UTC (permalink / raw)
  To: cygwin

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.

Yours,
Jeremy Hetzler
(he/him)

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 'kill --list' and 'kill --version' complain "not enough arguments"
  2023-03-15 17:51 'kill --list' and 'kill --version' complain "not enough arguments" Jeremy Hetzler
@ 2023-03-15 21:13 ` Corinna Vinschen
  0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2023-03-15 21:13 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-03-15 21:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 17:51 'kill --list' and 'kill --version' complain "not enough arguments" Jeremy Hetzler
2023-03-15 21:13 ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).