mirror of
https://github.com/nushell/nushell
synced 2025-01-13 13:49:21 +00:00
Fix help regression
This commit is contained in:
parent
3dd48bf831
commit
60b7da8ea7
1 changed files with 0 additions and 7 deletions
|
@ -28,13 +28,6 @@ impl PerItemCommand for Help {
|
|||
) -> Result<OutputStream, ShellError> {
|
||||
let tag = call_info.name_tag;
|
||||
|
||||
if call_info.args.len() == 0 {
|
||||
return Ok(vec![Ok(ReturnSuccess::Action(CommandAction::EnterHelpShell(
|
||||
Value::nothing().tagged(tag),
|
||||
)))]
|
||||
.into());
|
||||
}
|
||||
|
||||
match call_info.args.expect_nth(0)? {
|
||||
Tagged {
|
||||
item: Value::Primitive(Primitive::String(document)),
|
||||
|
|
Loading…
Reference in a new issue