aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlas Kozat <ulas.kozat@gmail.com>2016-06-02 10:19:39 -0700
committerUlas Kozat <ulas.kozat@gmail.com>2016-06-02 10:19:39 -0700
commita292aa32eebe17196eff1862cff9e6e6e84414e4 (patch)
treedbcf1e69c9a1ab46cf89178f40e20e9910471e26
parentfd9248da568af0825aee8bdf612b605721c2a24b (diff)
updated subscribe command usage
Change-Id: Ie6cee2ff877632431638b7a34bf1c30aa406d0ac Signed-off-by: Ulas Kozat <ulas.kozat@gmail.com>
-rwxr-xr-xdocs/userguide/api-documentation.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/docs/userguide/api-documentation.rst b/docs/userguide/api-documentation.rst
index bff6e2b..bd555de 100755
--- a/docs/userguide/api-documentation.rst
+++ b/docs/userguide/api-documentation.rst
@@ -58,11 +58,17 @@ This message has the following fields that are automatically filled in.
Note that -l can be substituted by --label and -t can be substituted by --ttype.
-To subscribe more than one label or template type, one can repeat the options -l and -t, e.g.:
+More than one label or template type can be subscribed within the same command line as comma separated labels or template types
.. code-block:: bash
- ./domino-cli.py subscribe -l <label1> -l <label2> ... -l <labeln> -t <ttype1> -t <ttype2> ... -t <ttypen>
+ ./domino-cli.py subscribe -l <label1>,<label2>,<labeln> -t <ttype1>,<ttype2>,<ttypen>
+
+To subscribe more than one label or template type, one can also repeat the options -l and -t, e.g.:
+
+.. code-block:: bash
+
+ ./domino-cli.py subscribe -l <label1> -l <label2> -l <labeln> -t <ttype1> -t <ttype2> -t <ttypen>
It is safe to call subscribe command multiple times with duplicate labels.