aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-27 00:56:13 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-27 00:56:13 -0800
commit5be3606236bd2185d93162fcad097d8c30f84885 (patch)
tree8c908ae055c8658d0d9124bec837ac138f3be374 /builtin.cpp
parentce4c145f1c6ca1e6e2171d5e6f0a9b423f6fb9a6 (diff)
Increased support for completion search field. Use btab (shift-tab) to
complete-and-search.
Diffstat (limited to 'builtin.cpp')
-rw-r--r--builtin.cpp37
1 files changed, 8 insertions, 29 deletions
diff --git a/builtin.cpp b/builtin.cpp
index 17b0caaa..81738ffb 100644
--- a/builtin.cpp
+++ b/builtin.cpp
@@ -571,35 +571,14 @@ static int builtin_bind(parser_t &parser, wchar_t **argv)
static const struct woption
long_options[] =
{
- {
- L"all", no_argument, 0, 'a'
- }
- ,
- {
- L"erase", no_argument, 0, 'e'
- }
- ,
- {
- L"function-names", no_argument, 0, 'f'
- }
- ,
- {
- L"help", no_argument, 0, 'h'
- }
- ,
- {
- L"key", no_argument, 0, 'k'
- }
- ,
- {
- L"key-names", no_argument, 0, 'K'
- }
- ,
- {
- 0, 0, 0, 0
- }
- }
- ;
+ { L"all", no_argument, 0, 'a' },
+ { L"erase", no_argument, 0, 'e' },
+ { L"function-names", no_argument, 0, 'f' },
+ { L"help", no_argument, 0, 'h' },
+ { L"key", no_argument, 0, 'k' },
+ { L"key-names", no_argument, 0, 'K' },
+ { 0, 0, 0, 0 }
+ };
while (1)
{