diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2020-07-29 10:17:18 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2020-08-05 08:20:32 +0200 |
commit | 59835ae530f5dae69d00dc92d201f56bcff792be (patch) | |
tree | f35b52ae2430d7837a2f2eb011395d532b8d422c | |
parent | 171469e3138cce191892e20b6fd35b52c9368064 (diff) | |
download | ubus-59835ae530f5dae69d00dc92d201f56bcff792be.tar.gz |
cli: document usage of "subscribe" command
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>
-rw-r--r-- | cli.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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" |