]> granicus.if.org Git - psmisc/commitdiff
fuser: Do not mention non existent - option
authorCraig Small <csmall@dropbear.xyz>
Wed, 21 Sep 2022 07:15:34 +0000 (17:15 +1000)
committerCraig Small <csmall@dropbear.xyz>
Wed, 21 Sep 2022 07:15:34 +0000 (17:15 +1000)
Both the fuser help and man page said - by itself reset the options
which it hasnt done for ages (since 2005)

References:
 psmisc/psmisc#42

ChangeLog
doc/fuser.1
src/fuser.c

index d539bc88847a91a95357e19554b6b3c174a5e2ac..7f6e62d7fff3a860e185819b4c43a1709384aefc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@ Changes in NEXT
 ===============
         * buildsys: Fix DEJAGNU work-around Debian #1015089
        * killall: Use kill if pidfd_send_signal fails Debian #1015228
+       * fuser: Do not mention nonexistent - reset option #42
 
 Changes in 23.5
 ===============
index 8f83477a36b3d3b3ec061a36aed61db54a9d0b5a..aa6345b1b2b2085362464cd7a3f685d7b50559da 100644 (file)
@@ -1,12 +1,12 @@
 .\"
 .\" Copyright 1993-2005 Werner Almesberger
-.\"           2005-2020 Craig Small
+.\"           2005-2022 Craig Small
 .\" This program is free software; you can redistribute it and/or modify
 .\" it under the terms of the GNU General Public License as published by
 .\" the Free Software Foundation; either version 2 of the License, or
 .\" (at your option) any later version.
 .\"
-.TH FUSER 1 "2020-09-09" "psmisc" "User Commands"
+.TH FUSER 1 "2022-09-21" "psmisc" "User Commands"
 .SH NAME
 fuser \- identify processes using files or sockets
 .SH SYNOPSIS
@@ -217,8 +217,6 @@ option and only has an effect with the tcp and udp namespaces.
 Search only for IPv6 sockets.  This option must not be used with the
 .B \-4
 option and only has an effect with the tcp and udp namespaces.
-.IP \fB\-\fR
-Reset all options and set the signal back to SIGKILL.
 .SH FILES
 .TP
 /proc
index 4d4363c6237eb243cd340524b24f2375e17c4912..22bd4dcab063351065fa26e2508231daab6d1106 100644 (file)
@@ -173,8 +173,7 @@ static void usage(
     fprintf(stderr, _("  -4,--ipv4             search IPv4 sockets only\n"
                       "  -6,--ipv6             search IPv6 sockets only\n"));
 #endif
-    fprintf(stderr, _("  -                     reset options\n\n"
-                      "  udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]]\n\n"));
+    fprintf(stderr, _("  udp/tcp names: [local_port][,[rmt_host][,[rmt_port]]]\n\n"));
     exit(1);
 }