aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.c
diff options
context:
space:
mode:
Diffstat (limited to 'complete.c')
-rw-r--r--complete.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/complete.c b/complete.c
index 81c79523..76e50fd6 100644
--- a/complete.c
+++ b/complete.c
@@ -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: