summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetr Štetiar <ynezz@true.cz>2020-08-05 10:27:24 +0200
committerPetr Štetiar <ynezz@true.cz>2020-08-05 10:27:24 +0200
commit13efd05c1bb611a3b30f53858fcd3a13589e08be (patch)
tree94821bd1d0b418a0541eedada7b281134e21e985
parent59835ae530f5dae69d00dc92d201f56bcff792be (diff)
downloadubus-13efd05c1bb611a3b30f53858fcd3a13589e08be.tar.gz
tests: cram: fix usage test
Add new subscribe command help. Fixes: 59835ae530f5 ("cli: document usage of "subscribe" command") Signed-off-by: Petr Štetiar <ynezz@true.cz>
-rw-r--r--tests/cram/test_ubus.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cram/test_ubus.t b/tests/cram/test_ubus.t
index e4ba87f..b4ea236 100644
--- a/tests/cram/test_ubus.t
+++ b/tests/cram/test_ubus.t
@@ -19,6 +19,7 @@ check usage:
Commands:
- list [<path>]\t\t\tList objects (esc)
- call <path> <method> [<message>]\tCall an object method (esc)
+ - subscribe <path> [<path>...]\tSubscribe to object(s) notifications (esc)
- listen [<path>...]\t\t\tListen for events (esc)
- send <type> [<message>]\t\tSend an event (esc)
- wait_for <object> [<object>...]\tWait for multiple objects to appear on ubus (esc)
@@ -40,6 +41,7 @@ check usage:
Commands:
- list [<path>]\t\t\tList objects (esc)
- call <path> <method> [<message>]\tCall an object method (esc)
+ - subscribe <path> [<path>...]\tSubscribe to object(s) notifications (esc)
- listen [<path>...]\t\t\tListen for events (esc)
- send <type> [<message>]\t\tSend an event (esc)
- wait_for <object> [<object>...]\tWait for multiple objects to appear on ubus (esc)