We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1734ed7 commit f8f3c63Copy full SHA for f8f3c63
wsdiscovery/cmdline.py
@@ -50,12 +50,11 @@ def setup_logger(name, loglevel):
50
@click.option('--capture', '-c', nargs=1, type=click.File('w'), help='Capture messages to a file')
51
@click.option('--timeout', '-t', default=DEFAULT_DISCOVERY_TIMEOUT, show_default=True,
52
type=int, help='Discovery timeout in seconds')
53
-def discover(scope, address, port, loglevel, capture, timeout):
54
@click.option('--unicast-num', '-un', type=int, default=UNICAST_UDP_REPEAT,
55
show_default=True, help='Number of Unicast messages to send')
56
@click.option('--multicast-num', '-mn', type=int, default=MULTICAST_UDP_REPEAT,
57
show_default=True, help='Number of Multicast messages to send')
58
-def discover(scope, address, port, loglevel, capture, unicast_num,
+def discover(scope, address, port, loglevel, capture, timeout, unicast_num,
59
multicast_num):
60
"Discover services using WS-Discovery"
61
0 commit comments