Include omitted connection alternative

This commit is contained in:
Tony Garnock-Jones 2019-05-28 16:00:49 +01:00
parent 816b9ceb60
commit 207d54c576
1 changed files with 2 additions and 1 deletions

View File

@ -17,7 +17,8 @@ elif len(sys.argv) == 3:
elif len(sys.argv) == 1:
conn = S.WebsocketConnection('ws://localhost:8000/', 'chat')
else:
sys.stderr.write('Usage: chat.py [ HOST PORT SCOPE | WEBSOCKETURL SCOPE ]\n')
sys.stderr.write(
'Usage: chat.py [ HOST PORT SCOPE | WEBSOCKETURL SCOPE | UNIXSOCKETPATH SCOPE ]\n')
sys.exit(1)
## Courtesy of http://listofrandomnames.com/ :-)