mirror of
https://github.com/nushell/nushell.git
synced 2025-02-22 13:31:34 +01: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 {
|
||||
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 New Issue
Block a user