cli: document usage of "subscribe" command
[project/ubus.git] / cli.c
diff --git a/cli.c b/cli.c
index f566279b4f6d1b54de85985518365167731cba13..81591ec44d11aa053d3461d774d58e59b0bfbbe0 100644 (file)
--- 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"