summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2021-03-14 13:38:50 +0100
committerSébastien Helleu <flashcode@flashtux.org>2021-03-14 13:38:50 +0100
commita02a2fbaaea197df68630fefb2e6d1d2003de8dc (patch)
tree40fd09fbecad82998caa0edf498adcfad1e94380 /src
parente37f2569f968fa39cd260ccf8a29abc87a17b4b1 (diff)
downloadweechat-a02a2fbaaea197df68630fefb2e6d1d2003de8dc.zip
doc: use full path /usr/bin/pass in example for option sec.crypt.passphrase_command
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-command.c3
-rw-r--r--src/core/wee-secure-config.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 65567719e..49a904d24 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -8226,7 +8226,8 @@ command_init ()
" set a passphrase:\n"
" /secure passphrase this is my passphrase\n"
" use program \"pass\" to read the passphrase on startup:\n"
- " /set sec.crypt.passphrase_command \"pass show weechat/passphrase\"\n"
+ " /set sec.crypt.passphrase_command "
+ "\"/usr/bin/pass show weechat/passphrase\"\n"
" encrypt freenode SASL password:\n"
" /secure set freenode mypassword\n"
" /set irc.server.freenode.sasl_password \"${sec.data.freenode}\"\n"
diff --git a/src/core/wee-secure-config.c b/src/core/wee-secure-config.c
index ec8ed6650..d60a19166 100644
--- a/src/core/wee-secure-config.c
+++ b/src/core/wee-secure-config.c
@@ -487,7 +487,8 @@ secure_config_init_options ()
"character); this option is used only when reading file sec.conf "
"and if the environment variable \"WEECHAT_PASSPHRASE\" is not set "
"(the environment variable has higher priority); "
- "example with password-store: \"pass show weechat/passphrase\""),
+ "example with password-store: "
+ "\"/usr/bin/pass show weechat/passphrase\""),
NULL, 0, 0, "", NULL, 0,
NULL, NULL, NULL,
NULL, NULL, NULL,