We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a75a2e8 commit 54fee0fCopy full SHA for 54fee0f
config/main.py
@@ -1487,7 +1487,7 @@ def portchannel(ctx, namespace):
1487
1488
@portchannel.command('add')
1489
@click.argument('portchannel_name', metavar='<portchannel_name>', required=True)
1490
-@click.option('--min-links', default=0, type=int)
+@click.option('--min-links', default=1, type=click.IntRange(1,1024))
1491
@click.option('--fallback', default='false')
1492
@click.pass_context
1493
def add_portchannel(ctx, portchannel_name, min_links, fallback):
0 commit comments