From a72d8777526b19905227c32afdd54f6f7b1d222f Mon Sep 17 00:00:00 2001 From: axel Date: Sat, 28 Apr 2007 08:31:31 +1000 Subject: [PATCH] Add missing -b switch for the commandline builtin. This issue was reported by philip ganchev darcs-hash:20070427223131-ac50b-f7a40d4cf7622cbce4b9d73cc2bc5e2d27ce386f.gz --- builtin_commandline.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/builtin_commandline.c b/builtin_commandline.c index e10744857..c16ed17db 100644 --- a/builtin_commandline.c +++ b/builtin_commandline.c @@ -312,7 +312,7 @@ static int builtin_commandline( wchar_t **argv ) int opt = wgetopt_long( argc, argv, - L"aijpctwforhI:C", + L"abijpctwforhI:C", long_options, &opt_index ); if( opt == -1 ) @@ -334,6 +334,11 @@ static int builtin_commandline( wchar_t **argv ) case L'a': append_mode = APPEND_MODE; break; + + case L'b': + buffer_part = STRING_MODE; + break; + case L'i': append_mode = INSERT_MODE;