Skip to content

Commit ffab4de

Browse files
committed
Merge pull request websockets#1 from jnordberg/better-usage
Better usage
2 parents 6d2391a + 8469db4 commit ffab4de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/wscat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ var version = require('../package.json').version;
103103

104104
program
105105
.version(version)
106-
.usage('[options] <url>')
106+
.usage('[options] (--listen <port> | --connect <url>)')
107107
.option('-l, --listen <port>', 'listen on port')
108108
.option('-c, --connect <url>', 'connect to a websocket server')
109109
.option('-p, --protocol <version>', 'optional protocol version')

0 commit comments

Comments
 (0)