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

commit 2a4dd6a2399905e2b1b6ba7439ded919f4909a02
Author:     Corinna Vinschen <[email protected]>
AuthorDate: Wed Mar 15 22:05:44 2023 +0100
Commit:     Corinna Vinschen <[email protected]>
CommitDate: Wed Mar 15 22:08:04 2023 +0100

    Cygwin: kill(1): Add -L to documentation
    
    Signed-off-by: Corinna Vinschen <[email protected]>

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 via email to