complete: recognise -w short option for --wraps

Closes #1793.
This commit is contained in:
David Adam 2014-11-04 23:33:31 +08:00
parent 9382dc32df
commit 4d588a24e9

View file

@ -339,7 +339,7 @@ static int builtin_complete(parser_t &parser, wchar_t **argv)
int opt = wgetopt_long(argc, int opt = wgetopt_long(argc,
argv, argv,
L"a:c:p:s:l:o:d:frxeuAn:C::h", L"a:c:p:s:l:o:d:frxeuAn:C::w:h",
long_options, long_options,
&opt_index); &opt_index);
if (opt == -1) if (opt == -1)