diff --git a/proxmox-api/src/cli/format.rs b/proxmox-api/src/cli/format.rs index a83c754e..95ce68d3 100644 --- a/proxmox-api/src/cli/format.rs +++ b/proxmox-api/src/cli/format.rs @@ -199,7 +199,7 @@ pub fn print_help( top_def: &CommandLineInterface, mut prefix: String, args: &[String], - verbose: Option, + mut verbose: Option, ) { let mut iface = top_def; @@ -222,6 +222,12 @@ pub fn print_help( return; } + if verbose.is_none() { + if let CommandLineInterface::Simple(_) = iface { + verbose = Some(true); + } + } + let format = match verbose.unwrap_or(false) { true => DocumentationFormat::Full, false => DocumentationFormat::Short,