diff options
author | Kevin Ballard <kevin@sb.org> | 2014-09-02 14:53:19 -0700 |
---|---|---|
committer | Kevin Ballard <kevin@sb.org> | 2014-09-02 15:30:58 -0700 |
commit | edd4f3d5adb6b532ebc0e6633915613b39d0dba5 (patch) | |
tree | da39239441d94bbbe4d51fa631cf08a52781b48d /complete.h | |
parent | aa7fe3b1322e5cc912d6b132b7738a6c46b24046 (diff) |
Don't erase old-style options with `complete -l foo -e`
When erasing long option completions, distinguish between gnu-style and
old-style options, just like we do when adding and printing completions.
Diffstat (limited to 'complete.h')
-rw-r--r-- | complete.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -207,7 +207,8 @@ void complete_set_authoritative(const wchar_t *cmd, bool cmd_type, bool authorit void complete_remove(const wchar_t *cmd, bool cmd_is_path, wchar_t short_opt, - const wchar_t *long_opt); + const wchar_t *long_opt, + int long_mode); /** Find all completions of the command cmd, insert them into out. |