diff options
author | axel <axel@liljencrantz.se> | 2007-03-24 21:14:55 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2007-03-24 21:14:55 +1000 |
commit | a17019e439a8917f823b569d6527681e4316565d (patch) | |
tree | 2434a4dbd7369f0dbc774ebafa6356fbcc77ae80 /complete.c | |
parent | b5baac82911eb6f1fcec1d6422bda16bfbf49755 (diff) |
Do not flag a lone '-' as an error. Many commands accept it.
darcs-hash:20070324111455-ac50b-aaee0e9c80c3e57b1f0b5f421c80ed599d5c1e1b.gz
Diffstat (limited to 'complete.c')
-rw-r--r-- | complete.c | 6 |
1 files changed, 1 insertions, 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: |