Skip to content

Commit ab32d21

Browse files
committed
config doc tuning
1 parent ffa202c commit ab32d21

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ The remote server accepts following configuration parameters:
8383
============== ================ ========================================
8484
``library`` Test library instance or module to host. Mandatory argument.
8585
``host`` ``'127.0.0.1'`` Address to listen. Use ``'0.0.0.0'`` to listen to all available interfaces.
86-
``port`` ``8270`` Port to listen. Use ``0`` to select a free port automatically.
87-
``port_file`` ``None`` File to write port that is used. ``None`` means file is not written.
86+
``port`` ``8270`` Port to listen. Use ``0`` to select a free port automatically. Can be given as an integer or as a string.
87+
``port_file`` ``None`` File to write port that is used. ``None`` means no such file is written.
8888
``allow_stop`` ``True`` Allow/disallow stopping the server using ``Stop Remote Server`` keyword.
8989
============== ================ ========================================
9090

src/robotremoteserver.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ def __init__(self, library, host='127.0.0.1', port=8270, port_file=None,
5050
:param host: Address to listen. Use ``'0.0.0.0'`` to listen
5151
to all available interfaces.
5252
:param port: Port to listen. Use ``0`` to select a free port
53-
automatically.
53+
automatically. Can be given as an integer or as
54+
a string.
5455
:param port_file: File to write port that is used. ``None`` means
55-
file is not written.
56+
no such file is written.
5657
:param allow_stop: Allow/disallow stopping the server using
5758
``Stop Remote Server`` keyword.
5859
"""

0 commit comments

Comments
 (0)