Skip to content

Commit fbd565d

Browse files
authored
Fix wrong help message for cable length setting (#1978)
- What I did Replace the wrong help message of "Set lossless PGs for the interface" with the right one "Set interface cable length" - How I did it Update the help message to the relevant one on main.py - How to verify it Run the following command: "config interface cable-length Ethernet0 -h" - Previous command output (if the output of a command-line utility has changed) Set lossless PGs for the interface - New command output (if the output of a command-line utility has changed) Set interface cable length
1 parent b3a5052 commit fbd565d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

config/main.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4110,7 +4110,7 @@ def remove_pg(ctx, interface_name, pg_map):
41104110
@click.argument('length', metavar='<length>', required=True)
41114111
@click.pass_context
41124112
def cable_length(ctx, interface_name, length):
4113-
"""Set lossless PGs for the interface"""
4113+
"""Set interface cable length"""
41144114
config_db = ctx.obj["config_db"]
41154115

41164116
if not is_dynamic_buffer_enabled(config_db):

0 commit comments

Comments
 (0)