Fix parsing of -k/--keep-history option

GitHub #394.
This commit is contained in:
Ian Barwick
2018-03-07 19:14:18 +09:00
parent e8cdf72ecd
commit 509f7a8255

View File

@@ -176,7 +176,7 @@ main(int argc, char **argv)
strncpy(runtime_options.username, pw->pw_name, MAXLEN);
}
while ((c = getopt_long(argc, argv, "?Vb:f:FWd:h:p:U:R:S:D:ckL:tvC:", long_options,
while ((c = getopt_long(argc, argv, "?Vb:f:FWd:h:p:U:R:S:D:ck:L:tvC:", long_options,
&optindex)) != -1)
{
/*