Do not flag a lone '-' as an error. Many commands accept it.

darcs-hash:20070324111455-ac50b-aaee0e9c80c3e57b1f0b5f421c80ed599d5c1e1b.gz
This commit is contained in:
axel 2007-03-24 21:14:55 +10:00
parent b5baac8291
commit a17019e439

View file

@ -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: