mirror of
https://github.com/nushell/nushell.git
synced 2025-04-30 16:14:27 +02:00
question mark character can also be in glob patterns.
This commit is contained in:
parent
b15bb2c667
commit
540e93aa3a
@ -10,7 +10,7 @@ impl WholeStreamCommand for LS {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn signature(&self) -> Signature {
|
fn signature(&self) -> Signature {
|
||||||
Signature::build("ls").optional("path", SyntaxType::Path)
|
Signature::build("ls").optional("path", SyntaxType::Pattern)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn usage(&self) -> &str {
|
fn usage(&self) -> &str {
|
||||||
|
@ -713,6 +713,7 @@ fn is_bare_char(c: char) -> bool {
|
|||||||
'=' => true,
|
'=' => true,
|
||||||
'~' => true,
|
'~' => true,
|
||||||
':' => true,
|
':' => true,
|
||||||
|
'?' => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user