From bed5aa94a69adc6cdeb0e68f2f1e18c9211b6ff0 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 9 Jun 2021 10:04:10 +0200 Subject: [PATCH] doc (cli/profile): add autoconnection in example --- doc/libervia-cli/profile.rst | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/libervia-cli/profile.rst b/doc/libervia-cli/profile.rst index 90596a92..a475c346 100644 --- a/doc/libervia-cli/profile.rst +++ b/doc/libervia-cli/profile.rst @@ -91,10 +91,11 @@ Create a component profile for the file sharing component (whose entry point is ``file_sharing``). The jid of the service is specified with ``--jid`` (note that we don't use a node as it is a jid of a component) and the ``--xmpp-password`` is the shared secret. Here the profile password is kept empty to not have to enter manually the XMPP -password each time we connect the service:: +password each time we connect the service. We use the ``-A`` option to set +autoconnection:: $ li profile create file_sharing -j files.example.org -p "" --xmpp-password - some_shared_secret -C file_sharing + some_shared_secret -C file_sharing -A default