diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d48257255..26916630d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -53,6 +53,7 @@ Changes before Tatum release are not documented in this file. #### Fixed - Signature output in `subscribe --with-metadata` (https://github.com/streamr-dev/network/pull/3245) +- Error handling of `--partition` flag in `subscribe` (https://github.com/streamr-dev/network/pull/3263) #### Security diff --git a/packages/cli-tools/bin/streamr-stream-subscribe.ts b/packages/cli-tools/bin/streamr-stream-subscribe.ts index 5bd24a590c..e0818ec184 100755 --- a/packages/cli-tools/bin/streamr-stream-subscribe.ts +++ b/packages/cli-tools/bin/streamr-stream-subscribe.ts @@ -44,7 +44,7 @@ createClientCommand(async (client: StreamrClient, streamId: string, options: Opt }) .arguments('') .description('subscribe to a stream, prints JSON messages to stdout line-by-line') - .option('-p, --partition [partition]', 'partition', createFnParseInt('--partition'), 0) + .option('-p, --partition ', 'partition', createFnParseInt('--partition'), 0) .option('-d, --disable-ordering', 'disable ordering of messages by OrderingUtil', false) .option('-r, --raw', 'subscribe raw', false) .option('-m, --with-metadata', 'print each message with its metadata included', false)