doc (cli/profile): add autoconnection in example

This commit is contained in:
Goffi 2021-06-09 10:04:10 +02:00
commit bed5aa94a6

View file

@ -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