From 081e277fe4ce510687405d1b0ef71041a282e02d Mon Sep 17 00:00:00 2001 From: Dylan Smith Date: Thu, 25 Nov 2010 19:09:31 +0800 Subject: [PATCH] builtin: read's --shell long option should require an argument The short option -s doesn't need it and it won't be used. Signed-off-by: Grissiom --- builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin.c b/builtin.c index 13694aacb..a90e14c03 100644 --- a/builtin.c +++ b/builtin.c @@ -2070,7 +2070,7 @@ static int builtin_read( wchar_t **argv ) } , { - L"shell", required_argument, 0, 's' + L"shell", no_argument, 0, 's' } , {