public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin/main] Cygwin: kill(1): Add -L to documentation
@ 2023-03-15 21:11 Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2023-03-15 21:11 UTC (permalink / raw)
  To: cygwin-cvs

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>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-03-15 21:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-15 21:11 [newlib-cygwin/main] Cygwin: kill(1): Add -L to documentation 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).