Commits

Mikhail Korobov committed dade6f0

minor README fixes

  • Participants
  • Parent commits a7db0ad

Comments (0)

Files changed (1)

 ``port-for`` is a command-line utility and a python library that
 helps with local TCP ports managment.
 
-It can find an unused TCP localhost port and remember the association.
+It can find an unused TCP localhost port and remember the association::
+
+    $ sudo port-for foo
+    37987
 
 This can be useful when you are installing a stack of software
 with multiple parts needing port numbers.
    This is important because ports from ephemeral port range can
    be assigned temporary by OS (e.g. by machine's IP stack) and
    this may prevent service restart in some circumstances.
-   gimme_port doesn't return ports from ephemeral port ranges
+   ``port-for`` doesn't return ports from ephemeral port ranges
    configured at the current machine.
 
 4) Other heuristics are also applied: ``port-for`` tries to return