diff mbox series

[ubus] cli: document usage of "subscribe" command

Message ID 20200729081718.7483-1-zajec5@gmail.com
State Accepted
Headers show
Series [ubus] cli: document usage of "subscribe" command | expand

Commit Message

Rafał Miłecki July 29, 2020, 8:17 a.m. UTC
From: Rafał Miłecki <rafal@milecki.pl>

Support for "subscribe" command was added years ago in the commit
453b87f6315f ("cli: add support for subscribing to objects"). Document
its usage.

Cc: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
 cli.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series


diff --git a/cli.c b/cli.c
index f566279..81591ec 100644
--- a/cli.c
+++ b/cli.c
@@ -549,6 +549,7 @@  static int usage(const char *prog)
 		" - list [<path>]			List objects\n"
 		" - call <path> <method> [<message>]	Call an object method\n"
+		" - subscribe <path> [<path>...]	Subscribe to object(s) notifications\n"
 		" - listen [<path>...]			Listen for events\n"
 		" - send <type> [<message>]		Send an event\n"
 		" - wait_for <object> [<object>...]	Wait for multiple objects to appear on ubus\n"