From 661f83e38ffa2bfab21816263a29274cf2874850 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Fri, 7 Apr 2023 22:24:49 +0200 Subject: [PATCH] Remember myself I use pass. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ce5ae6f..6fddeb2 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,10 @@ $ export XMPP_PASSWORD=the_bot_password $ http-to-xmpp ``` -or via arguments, but beware of `ps` showing your password! +or via arguments: ```bash -$ http-to-xmpp --xmpp-jid the_bot_account@the_server.org --xmpp-password the_bot_password --xmpp-dest-jid the_human_receiving_messages@the_server.org +$ http-to-xmpp --xmpp-jid bot_account@the_server.org --xmpp-password "$(pass bot_account@the_server.org)" --xmpp-dest-jid human_account@the_server.org ``` HTTP host and port to listen to can be changed using `--http-host` and `--http-port`, they default to `localhost:1985`.