# HG changeset patch # User Goffi # Date 1623225850 -7200 # Node ID cc3d00d07c34abba19bf832a8e5973f42c658fce # Parent 0ce37cf3fbf4b92d4e3202712b45aabbbd28e6e7 doc (cli/profile): add autoconnection in example diff -r 0ce37cf3fbf4 -r cc3d00d07c34 doc/libervia-cli/profile.rst --- 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