mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-10 21:11:15 -03:00
Do not flag a lone '-' as an error. Many commands accept it.
darcs-hash:20070324111455-ac50b-aaee0e9c80c3e57b1f0b5f421c80ed599d5c1e1b.gz
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user