Skip to content

Commit 38bff50

Browse files
authored
[show] Add missing verbose option to "show line" (sonic-net#961)
* Fixing "show line" by adding the missing decorator that supports "--verbose" option. Signed-off-by: lolyu <[email protected]>
1 parent 9950955 commit 38bff50

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

show/main.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -2650,7 +2650,8 @@ def reboot_cause():
26502650
# 'line' command ("show line")
26512651
#
26522652
@cli.command('line')
2653-
def line():
2653+
@click.option('--verbose', is_flag=True, help="Enable verbose output")
2654+
def line(verbose):
26542655
"""Show all /dev/ttyUSB lines and their info"""
26552656
cmd = "consutil show"
26562657
run_command(cmd, display_cmd=verbose)

0 commit comments

Comments
 (0)