diff --git a/crates/nu-parser/src/parse_keywords.rs b/crates/nu-parser/src/parse_keywords.rs index 34a7eb032d..350c559182 100644 --- a/crates/nu-parser/src/parse_keywords.rs +++ b/crates/nu-parser/src/parse_keywords.rs @@ -1130,7 +1130,7 @@ pub fn parse_register( let decl = working_set.get_decl(decl_id); err = check_call(call_span, &decl.signature(), &call).or(err); - if err.is_some() { + if err.is_some() || call.has_flag("help") { return ( Statement::Pipeline(Pipeline::from_vec(vec![Expression { expr: Expr::Call(call),