aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/utils/ChangeLog3
-rw-r--r--winsup/utils/utils.sgml6
2 files changed, 8 insertions, 1 deletions
diff --git a/winsup/utils/ChangeLog b/winsup/utils/ChangeLog
index 3343f89..fb3f60f 100644
--- a/winsup/utils/ChangeLog
+++ b/winsup/utils/ChangeLog
@@ -9,6 +9,9 @@
(main): Use getopt_long for option parsing. Implement -l, and -s
options. Use test_for_unknown_sig() to test for signal validity.
+ * mount.cc (longopts): Make static.
+ (opts): Ditto.
+
2002-05-12 Christopher Faylor <cgf@redhat.com>
* mount.cc (do_mount): Default to non-exec option for remote drives.
diff --git a/winsup/utils/utils.sgml b/winsup/utils/utils.sgml
index 4d93d0e..e38e738 100644
--- a/winsup/utils/utils.sgml
+++ b/winsup/utils/utils.sgml
@@ -142,7 +142,8 @@ same output.
<sect2 id="kill"><title>kill</title>
<screen>
-Usage: kill [-f] [-sigN] pid1 [pid2 ...]
+Usage: kill [-f] [-sigN] [-s sigN] pid1 [pid2 ...]
+Usage: kill -l [signal]
</screen>
<para>The <command>kill</command> program allows you to send arbitrary
@@ -158,6 +159,9 @@ list of running programs and their Cygwin pids, use the Cygwin
<command>ps</command> program. <command>ps -W</command> will display
<emphasis>all</emphasis> windows pids.</para>
+<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>To send a specific signal, use the <literal>-signN</literal>
option, either with a signal number or a signal name (minus the "SIG"
part), like these examples:</para>