Browse Source

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>
Petr Štetiar 3 years ago
parent
commit
13efd05c1b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/cram/test_ubus.t

+ 2 - 0
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)