From 733f72371929a2a502cf76c2c9092c8415b05ca7 Mon Sep 17 00:00:00 2001 From: liris Date: Wed, 29 Feb 2012 11:08:00 +0900 Subject: [PATCH] fix doc format --- README.rst | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 20149b6..ecf0eb2 100644 --- a/README.rst +++ b/README.rst @@ -99,10 +99,15 @@ positional arguments: ws_url websocket url. ex. ws://echo.websocket.org/ optional arguments: - -h, --help show this help message and exit - - -v [VERBOSE], --verbose [VERBOSE] set verbose mode. If set to 1, show opcode. If set to 2, enable to trace websocket module + -h, --help show this help message and exit + -v VERBOSE, --verbose VERBOSE set verbose mode. If set to 1, show opcode. If set to 2, enable to trace websocket module + +example:: + + $ wsdump.py ws://echo.websocket.org/ + $ wsdump.py ws://echo.websocket.org/ -v + $ wsdump.py ws://echo.websocket.org/ -vv ChangeLog ============