- parser.add_argument('-ts', '--token_secret', help='The Twitter Access Token Secret.')
- parser.add_argument('-ck', '--consumer_key', help='The Twitter Consumer Key.')
- parser.add_argument('-cs', '--consumer_secret', help='The Twitter Consumer Secret.')
- parser.add_argument('-us', '--user_stream', action='store_true', help='Connect to the user stream endpoint.')
- parser.add_argument('-ss', '--site_stream', action='store_true', help='Connect to the site stream endpoint.')
-
+ parser.add_argument('-ts', '--token-secret', help='The Twitter Access Token Secret.')
+ parser.add_argument('-ck', '--consumer-key', help='The Twitter Consumer Key.')
+ parser.add_argument('-cs', '--consumer-secret', help='The Twitter Consumer Secret.')
+ parser.add_argument('-us', '--user-stream', action='store_true', help='Connect to the user stream endpoint.')
+ parser.add_argument('-ss', '--site-stream', action='store_true', help='Connect to the site stream endpoint.')
+ parser.add_argument('-to', '--timeout', help='Timeout for the stream (seconds)')
+ parser.add_argument('-nb', '--no-block', action='store_true', help='Set stream to non-blocking')