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 <chaos.proton@gmail.com>
This commit is contained in:
Dylan Smith 2010-11-25 19:09:31 +08:00 committed by Grissiom
parent 4f9b07e979
commit 081e277fe4

View file

@ -2070,7 +2070,7 @@ static int builtin_read( wchar_t **argv )
} }
, ,
{ {
L"shell", required_argument, 0, 's' L"shell", no_argument, 0, 's'
} }
, ,
{ {