Commit 54d84160 authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[1292] fix docstring of send_command

parent 46c206ba
...@@ -123,10 +123,9 @@ def set_config_command(step, name, value, cmdctl_port): ...@@ -123,10 +123,9 @@ def set_config_command(step, name, value, cmdctl_port):
@step('send bind10 the command (.+)(?: with cmdctl port (\d+))?') @step('send bind10 the command (.+)(?: with cmdctl port (\d+))?')
def send_command(step, command, cmdctl_port): def send_command(step, command, cmdctl_port):
""" """
Run bindctl, set the given configuration to the given value, and commit it. Run bindctl, send the given command, and exit bindctl.
Parameters: Parameters:
name ('configuration <name>'): Identifier of the configuration to set command ('the command <command>'): The command to send.
value ('to <value>'): value to set it to.
cmdctl_port ('with cmdctl port <portnr>', optional): cmdctl port to send cmdctl_port ('with cmdctl port <portnr>', optional): cmdctl port to send
the command to. Defaults to 47805. the command to. Defaults to 47805.
Fails if cmdctl does not exit with status code 0. Fails if cmdctl does not exit with status code 0.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment