diff --git a/examples/js-pub.c b/examples/js-pub.c index 142fcddb..decd28d4 100644 --- a/examples/js-pub.c +++ b/examples/js-pub.c @@ -14,7 +14,7 @@ #include "examples.h" static const char *usage = ""\ -"-stream stream name (default is 'foo')\n" \ +"-stream stream name (required)\n" \ "-txt text to send (default is 'hello')\n" \ "-count number of messages to send\n" \ "-sync publish synchronously (default is async)\n"; diff --git a/examples/js-sub.c b/examples/js-sub.c index f5bfe4cb..1a9105dc 100644 --- a/examples/js-sub.c +++ b/examples/js-sub.c @@ -15,6 +15,8 @@ static const char *usage = ""\ "-gd use global message delivery thread pool\n" \ +"-stream stream name (required)\n" \ +"-durable durable name (default is to create an ephemeral consumer)\n" "-sync receive synchronously (default is asynchronous)\n" \ "-pull use pull subscription\n" \ "-pull-async use an async pull subscription\n" \