public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
From: Corinna Vinschen <corinna@sourceware.org>
To: cygwin-cvs@sourceware.org
Subject: [newlib-cygwin/main] Cygwin: kill(1): Add -L to documentation
Date: Wed, 15 Mar 2023 21:11:01 +0000 (GMT)	[thread overview]
Message-ID: <20230315211101.F2ED2385828E@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2a4dd6a2399905e2b1b6ba7439ded919f4909a02

commit 2a4dd6a2399905e2b1b6ba7439ded919f4909a02
Author:     Corinna Vinschen <corinna@vinschen.de>
AuthorDate: Wed Mar 15 22:05:44 2023 +0100
Commit:     Corinna Vinschen <corinna@vinschen.de>
CommitDate: Wed Mar 15 22:08:04 2023 +0100

    Cygwin: kill(1): Add -L to documentation
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/doc/utils.xml | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml
index 1e15a4d56895..522df85b4ec5 100644
--- a/winsup/doc/utils.xml
+++ b/winsup/doc/utils.xml
@@ -969,8 +969,10 @@ file gmon.out.21900.zstd.exe, gmon version 0x51879, sample rate 100
       </cmdsynopsis>
       <cmdsynopsis>
 	<command>kill</command>
-	<arg choice="plain">-l</arg>
-	<arg choice="repeat"><replaceable>signal</replaceable></arg>
+	<group choice="plain">
+	  <arg choice="plain">-l <replaceable>signal</replaceable></arg>
+	  <arg choice="plain">-L</arg>
+	</group>
       </cmdsynopsis>
       <cmdsynopsis>
 	<command>kill</command>
@@ -987,6 +989,7 @@ file gmon.out.21900.zstd.exe, gmon version 0x51879, sample rate 100
       <screen>
  -f, --force     force, using win32 interface if necessary
  -l, --list      print a list of signal names
+ -L, --table     print a formatted table of signal names
  -s, --signal    send signal (use kill --list for a list)
  -W, --winpid    specified pids are windows PIDs, not Cygwin PIDs
                  (use with extreme caution!)
@@ -1030,6 +1033,9 @@ $ /bin/kill --version
     <para>The <command>kill -l</command> option prints the name of the given
       signal, or a list of all signal names if no signal is given.</para>
 
+    <para>The <command>kill -L</command> option is similar to <literal>-l</literal>,
+      but it will print signal names and their corresponding numbers.</para>
+
     <para>To send a specific signal, use the <literal>-signN</literal> option,
       either with a signal number or a signal name (minus the "SIG" part), as
       shown in these examples:</para>

                 reply	other threads:[~2023-03-15 21:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230315211101.F2ED2385828E@sourceware.org \
    --to=corinna@sourceware.org \
    --cc=cygwin-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).