mirror of
https://github.com/nushell/nushell
synced 2024-11-11 15:37:07 +00:00
Informs passing flags is unimplemented instead of quitting.
This commit is contained in:
parent
5ec5167cb9
commit
7e78bb4af5
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ pub fn baseline_parse_semantic_token(
|
|||
TokenNode::Delimited(delimited) => baseline_parse_delimited(delimited, registry, source),
|
||||
TokenNode::Pipeline(_pipeline) => unimplemented!(),
|
||||
TokenNode::Operator(_op) => unreachable!(),
|
||||
TokenNode::Flag(_flag) => unimplemented!(),
|
||||
TokenNode::Flag(_flag) => Err(ShellError::unimplemented("passing flags is not supported yet.")),
|
||||
TokenNode::Identifier(_span) => unreachable!(),
|
||||
TokenNode::Whitespace(_span) => unreachable!(),
|
||||
TokenNode::Error(error) => Err(*error.item.clone()),
|
||||
|
|
Loading…
Reference in a new issue