From 43ba8d3b73994fead5fa5f152d89ec2860f6e371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Sun, 2 May 2021 13:13:44 +0200 Subject: [PATCH] xfer: remove "%h" from /help xfer.file.upload_path (issue #1285) --- src/plugins/xfer/xfer-config.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/plugins/xfer/xfer-config.c b/src/plugins/xfer/xfer-config.c index 05831dbc3..330ff930e 100644 --- a/src/plugins/xfer/xfer-config.c +++ b/src/plugins/xfer/xfer-config.c @@ -397,10 +397,9 @@ xfer_config_init () xfer_config_file_upload_path = weechat_config_new_option ( xfer_config_file, ptr_section, "upload_path", "string", - N_("path for reading files when sending (when no path is specified " - "by user): \"%h\" at beginning of string is replaced by WeeChat " - "home (\"~/.weechat\" by default) " - "(note: content is evaluated, see /help eval)"), + N_("path for reading files when sending " + "(path is evaluated, see function string_eval_path_home in " + "plugin API reference)"), NULL, 0, 0, "~", NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); xfer_config_file_use_nick_in_filename = weechat_config_new_option (