[PATCH ubus] cli: document usage of "subscribe" command
Rafał Miłecki
zajec5 at gmail.com
Wed Jul 29 04:17:18 EDT 2020
From: Rafał Miłecki <rafal at 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 at nbd.name>
Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
---
cli.c | 1 +
1 file changed, 1 insertion(+)
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)
"Commands:\n"
" - 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"
--
2.27.0
More information about the openwrt-devel
mailing list