Skip to content

Commit fb98e88

Browse files
committed
cast wait type
1 parent 61f15fe commit fb98e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netfoundry/ctl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def __call__(self, parser, namespace, values, option_string=None):
9696
@cli.argument('-B', '--borders', default=True, action='store_boolean', help='print cell borders in text tables')
9797
@cli.argument('-H', '--headers', default=True, action='store_boolean', help='print column headers in text tables')
9898
@cli.argument('-Y', '--yes', action='store_true', arg_only=True, help='answer yes to potentially-destructive operations')
99-
@cli.argument('-W', '--wait', help='seconds to wait for long-running processes to finish', default=900)
99+
@cli.argument('-W', '--wait', type=int, help='seconds to wait for long-running processes to finish', default=900)
100100
@cli.argument('--proxy', help=argparse.SUPPRESS)
101101
@cli.argument('--gateway', default="gateway", help=argparse.SUPPRESS)
102102
@cli.entrypoint('configure the CLI to manage a network')

0 commit comments

Comments
 (0)