mirror of
https://github.com/nushell/nushell
synced 2024-11-13 16:37:08 +00:00
question mark character can also be in glob patterns.
This commit is contained in:
parent
b15bb2c667
commit
540e93aa3a
2 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,7 @@ impl WholeStreamCommand for LS {
|
|||
}
|
||||
|
||||
fn signature(&self) -> Signature {
|
||||
Signature::build("ls").optional("path", SyntaxType::Path)
|
||||
Signature::build("ls").optional("path", SyntaxType::Pattern)
|
||||
}
|
||||
|
||||
fn usage(&self) -> &str {
|
||||
|
|
|
@ -713,6 +713,7 @@ fn is_bare_char(c: char) -> bool {
|
|||
'=' => true,
|
||||
'~' => true,
|
||||
':' => true,
|
||||
'?' => true,
|
||||
_ => false,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue