Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

updated readme

  • Loading branch information...
commit 13d41fd789b5567b766fd8b20d723f9dce25f4bc 1 parent 0b2e02c
David Zhou authored March 18, 2010

Showing 1 changed file with 21 additions and 1 deletion. Show diff stats Hide diff stats

  1. 22  README.rst
22  README.rst
Source Rendered
@@ -19,7 +19,7 @@ The machines that coworkers would leave unattended **and unlocked** is the prima
19 19
     $ mkdir ~/.voices
20 20
     $ cd ~/.voices
21 21
     $ curl -O http://github.com/dz/voices.py/raw/master/voices.py
22  
-    $ python voices <yourcurrentip>:<port>
  22
+    $ python voices.py
23 23
 
24 24
 3. Now press control-a then "d" to detach the screen session.
25 25
 
@@ -44,3 +44,23 @@ Requirements
44 44
 ------------
45 45
 
46 46
 Mac OS X, obviously.  And also Python.
  47
+
  48
+Usage details
  49
+-------------
  50
+
  51
+Without an argument, **voices.py** will attempt to autodiscover your IP and automatically use 8888 as the port::
  52
+
  53
+    $ python voices.py 
  54
+    Explicit IP and port not entered.  Attempted to autodiscover IP address.
  55
+    Serving on 192.168.1.199:8888
  56
+
  57
+With an argument, **voices.py** will use the IP and port you entered.  Note that python does not have permission to bind to IPs that are not used by your machine::
  58
+
  59
+    $ python voices.py 192.168.1.199:8080
  60
+    Serving on 192.168.1.199:8080
  61
+
  62
+For a short help, do use ``--help``::
  63
+
  64
+    $ python voices.py --help
  65
+    Usage: python voices.py x.x.x.x:port
  66
+

0 notes on commit 13d41fd

Please sign in to comment.
Something went wrong with that request. Please try again.