From 59835ae530f5dae69d00dc92d201f56bcff792be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Date: Wed, 29 Jul 2020 10:17:18 +0200 Subject: cli: document usage of "subscribe" command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- 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 [] 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" -- cgit v1.2.1