Mercurial > libervia-backend
changeset 3552:cc3d00d07c34
doc (cli/profile): add autoconnection in example
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 09 Jun 2021 10:04:10 +0200 |
parents | 0ce37cf3fbf4 |
children | 01c23359b915 |
files | doc/libervia-cli/profile.rst |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/libervia-cli/profile.rst Wed Jun 09 10:01:56 2021 +0200 +++ b/doc/libervia-cli/profile.rst Wed Jun 09 10:04:10 2021 +0200 @@ -91,10 +91,11 @@ ``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