Explicitly set --lines to integer type

This commit is contained in:
Joshua Boniface 2024-03-13 13:01:02 -04:00
parent 78c774b607
commit 559400ed90
1 changed files with 2 additions and 0 deletions

View File

@ -892,6 +892,7 @@ def cli_node_ready(
"--lines",
"lines",
default=None,
type=int,
show_default=False,
help="Display this many log lines from the end of the log buffer. [default: 1000; with follow: 10]",
)
@ -2516,6 +2517,7 @@ def cli_vm_volume_remove(domain, volume, live_flag, restart_flag):
"--lines",
"lines",
default=None,
type=int,
show_default=False,
help="Display this many log lines from the end of the log buffer. [default: 1000; with follow: 10]",
)