Mercurial > libervia-backend
comparison doc/jp/roster.rst @ 3283:7b58b15bd121
doc (jp/roster): fixed example for `jp roster set`
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 26 May 2020 12:52:22 +0200 |
parents | 012e89fb2dd1 |
children | ffe7a6d6018a |
comparison
equal
deleted
inserted
replaced
3282:e7e7be79fbcd | 3283:7b58b15bd121 |
---|---|
59 and ``groups`` are appended to existing one. However, if you use the ``-R, --replace`` | 59 and ``groups`` are appended to existing one. However, if you use the ``-R, --replace`` |
60 option, former values will be entirely replaced by given ones (i.e. if you don't use ``-n | 60 option, former values will be entirely replaced by given ones (i.e. if you don't use ``-n |
61 NAME, --name NAME`` option, the former one will be deleted, and any former group no added | 61 NAME, --name NAME`` option, the former one will be deleted, and any former group no added |
62 using ``-g GROUP, --group GROUP`` will be removed). | 62 using ``-g GROUP, --group GROUP`` will be removed). |
63 | 63 |
64 example | 64 examples |
65 ------- | 65 -------- |
66 | 66 |
67 Set a name used to privately identify your contact Louise:: | 67 Set a name used to privately identify your contact Louise:: |
68 | 68 |
69 $ jp roster set -n Enjolras louise@example.net | 69 $ jp roster set -n Enjolras louise@example.net |
70 | 70 |
71 Replace all groups of Pierre, to add him only to ``friends`` and ``housemates``:: | 71 Replace all groups of Pierre, to add him only to ``friends`` and ``housemates``:: |
72 | 72 |
73 $ jp roster set -g friends -g housemates pierre@example.net | 73 $ jp roster set --replace -g friends -g housemates pierre@example.net |
74 | 74 |
75 stats | 75 stats |
76 ===== | 76 ===== |
77 | 77 |
78 Show some statistics about the profile roster. The number of contacts per server is shown, | 78 Show some statistics about the profile roster. The number of contacts per server is shown, |