From fbd565de04be73bf31a61256c5c14c98a7f07118 Mon Sep 17 00:00:00 2001 From: Dror Prital <76714716+dprital@users.noreply.github.com> Date: Tue, 28 Dec 2021 10:23:50 +0200 Subject: [PATCH] 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 --- config/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/main.py b/config/main.py index 49ddd5fe6316..4e2ae68de667 100644 --- a/config/main.py +++ b/config/main.py @@ -4110,7 +4110,7 @@ def remove_pg(ctx, interface_name, pg_map): @click.argument('length', metavar='', required=True) @click.pass_context def cable_length(ctx, interface_name, length): - """Set lossless PGs for the interface""" + """Set interface cable length""" config_db = ctx.obj["config_db"] if not is_dynamic_buffer_enabled(config_db):