mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 14:03:58 +00:00
Do not flag a lone '-' as an error. Many commands accept it.
darcs-hash:20070324111455-ac50b-aaee0e9c80c3e57b1f0b5f421c80ed599d5c1e1b.gz
This commit is contained in:
parent
b5baac8291
commit
a17019e439
1 changed files with 1 additions and 5 deletions
|
@ -630,13 +630,9 @@ int complete_is_valid_option( const wchar_t *str,
|
|||
{
|
||||
|
||||
case 0:
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
|
||||
case 1:
|
||||
{
|
||||
return opt[0] == L'-';
|
||||
return 1;
|
||||
}
|
||||
|
||||
case 2:
|
||||
|
|
Loading…
Reference in a new issue