diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2023-03-16 00:05:44 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-03-16 00:08:04 +0300 |
commit | 2a4dd6a2399905e2b1b6ba7439ded919f4909a02 (patch) | |
tree | d325f7bc72f56907b24c7ba2fe955e76433f0e63 | |
parent | 915c6eb0266bf1e1b2b1a1c0a1f075ef6c364537 (diff) |
Cygwin: kill(1): Add -L to documentation
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
-rw-r--r-- | winsup/doc/utils.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/winsup/doc/utils.xml b/winsup/doc/utils.xml index 1e15a4d56..522df85b4 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> |