Fix help regression

This commit is contained in:
Jonathan Turner 2019-09-24 19:45:41 +12:00
parent 3dd48bf831
commit 60b7da8ea7

View File

@ -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)),