From: Craig Small Date: Wed, 21 Sep 2022 07:15:34 +0000 (+1000) Subject: fuser: Do not mention non existent - option X-Git-Tag: v23.6_rc1~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=43f70124ca5774132dc56e938367b501b914eb23;p=psmisc fuser: Do not mention non existent - option 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 --- diff --git a/ChangeLog b/ChangeLog index d539bc8..7f6e62d 100644 --- 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 =============== diff --git a/doc/fuser.1 b/doc/fuser.1 index 8f83477..aa6345b 100644 --- a/doc/fuser.1 +++ b/doc/fuser.1 @@ -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 diff --git a/src/fuser.c b/src/fuser.c index 4d4363c..22bd4dc 100644 --- a/src/fuser.c +++ b/src/fuser.c @@ -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); }