Add missing -b switch for the commandline builtin. This issue was reported by philip ganchev

darcs-hash:20070427223131-ac50b-f7a40d4cf7622cbce4b9d73cc2bc5e2d27ce386f.gz
This commit is contained in:
axel 2007-04-28 08:31:31 +10:00
parent d0585befb3
commit a72d877752

View File

@ -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;