]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix description of --client-disconnect calling convention in manpage.
authorGert Doering <gert@greenie.muc.de>
Wed, 9 Sep 2020 12:29:26 +0000 (14:29 +0200)
committerGert Doering <gert@greenie.muc.de>
Fri, 11 Sep 2020 12:38:33 +0000 (14:38 +0200)
The man page claimed that --client-disconnect "is passed the same
pathname as the corresponding --client-connect command", which is
not what the code does.  Fix.

Reported-By: hvenev in Trac
Trac: #884

Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Antonio Quartulli <a@unstable.cc>
Message-Id: <20200909122926.9523-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg20929.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
doc/man-sections/script-options.rst

index b4bbf52f010d91298ee49a7cbd3e9bec568e402c..a4df6732cc182221001c074a6622ee31fd26e8b4 100644 (file)
@@ -157,9 +157,8 @@ SCRIPT HOOKS
   where some of the related client-connect functions returned an error
   status.
 
-  The ``--client-disconnect`` command is passed the same pathname as the
-  corresponding ``--client-connect`` command as its last argument (after
-  any arguments specified in ``cmd``).
+  The ``--client-disconnect`` command is not passed any extra arguments
+  (only those arguments specified in cmd, if any).
 
 --down cmd
   Run command ``cmd`` after TUN/TAP device close (post ``--user`` UID