From: Rafał Miłecki Date: Wed, 29 Jul 2020 08:17:18 +0000 (+0200) Subject: cli: document usage of "subscribe" command X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=59835ae530f5dae69d00dc92d201f56bcff792be;p=project%2Fubus.git 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 Signed-off-by: Rafał Miłecki --- 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 [] List objects\n" " - call [] Call an object method\n" + " - subscribe [...] Subscribe to object(s) notifications\n" " - listen [...] Listen for events\n" " - send [] Send an event\n" " - wait_for [...] Wait for multiple objects to appear on ubus\n"