From 36847bd30548acb72cc0c41c4cfff6f5792e2ff2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 2 May 2021 12:24:18 +0200 Subject: relay: remove "%h" from /help relay (issue #1285) --- src/plugins/relay/relay-command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/plugins/relay/relay-command.c b/src/plugins/relay/relay-command.c index 794464f17..80198703c 100644 --- a/src/plugins/relay/relay-command.c +++ b/src/plugins/relay/relay-command.c @@ -413,8 +413,8 @@ relay_command_init () " name: relay name (see format below)\n" " port: port used for relay\n" " path: path used for relay (for UNIX domain socket only); " - "\"%h\" at beginning of string is replaced by WeeChat home " - "(\"~/.weechat\" by default), content is evaluated (see /help eval)\n" + "path is evaluated (see function string_eval_path_home in " + "plugin API reference)\n" " raw: open buffer with raw Relay data\n" " sslcertkey: set SSL certificate/key using path in option " "relay.network.ssl_cert_key\n" @@ -457,7 +457,7 @@ relay_command_init () " weechat protocol with SSL, using IPv4 + IPv6:\n" " /relay add ipv4.ipv6.ssl.weechat 9001\n" " weechat protocol over UNIX domain socket:\n" - " /relay add unix.weechat %h/relay_socket"), + " /relay add unix.weechat ${weechat_runtime_dir}/relay_socket"), "list %(relay_relays)" " || listfull %(relay_relays)" " || listrelay" -- cgit v1.2.3