diff --git a/README.md b/README.md index 2947af3..4c01463 100644 --- a/README.md +++ b/README.md @@ -110,13 +110,14 @@ Usage: substreams-sink-websockets [options] Substreams Sink Websockets Options: - --public-key (required) Ed25519 public key (env: PUBLIC_KEY) - --port Server listen on HTTP port (default: 3000, env: PORT) - --hostname Server listen on HTTP hostname (default: "0.0.0.0", env: HOSTNAME) - --sqlite-filename SQLite database filename (default: "db.sqlite", env: SQLITE_FILENAME) - --verbose Enable verbose logging (default: false, env: VERBOSE) - -V, --version output the version number - -h, --help display help for command + --public-key (required) Ed25519 public key (comma-separated for multiple public keys) (env: PUBLIC_KEY) + --port Server listen on HTTP port (default: 3000, env: PORT) + --hostname Server listen on HTTP hostname (default: "0.0.0.0", env: HOSTNAME) + --sqlite-filename SQLite database filename (default: "db.sqlite", env: SQLITE_FILENAME) + --verbose Enable verbose logging (default: false, env: VERBOSE) + --recent-messages-limit Limit recent messages (default: 50, env: RECENT_MESSAGES_LIMIT) + -V, --version output the version number + -h, --help display help for command ``` ## Docker environment diff --git a/package.json b/package.json index 1212ac3..cb08c8e 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "homepage": "https://github.com/pinax-network/substreams-sink-websockets", "type": "module", "scripts": { - "start": "bun run index.ts", + "start": "bun run index.ts --help", "test": "bun test", "build": "bun build --compile ./index.ts --outfile substreams-sink-websockets", "dev": "bun run --watch index.ts"