diff --git a/crates/nu-std/std/help/mod.nu b/crates/nu-std/std/help/mod.nu index 86489fa188..570788d027 100644 --- a/crates/nu-std/std/help/mod.nu +++ b/crates/nu-std/std/help/mod.nu @@ -762,7 +762,7 @@ def external-commands [ let target_command = $command | str join " " | str replace "^" "" print $"(ansi default_italic)Help pages from external command ($target_command | pretty-cmd):(ansi reset)" if $env.NU_HELPER? == "--help" { - run-external ($target_command | split row " ") "--help" + run-external ($target_command | split row " ") "--help" | if $nu.os-info.name == "windows" { collect } else {} } else { ^($env.NU_HELPER? | default "man") $target_command }