Merge pull request #58 from Patterner/master

fix getopt() call for 'p' by adding the missing colon (:)
This commit is contained in:
Con Kolivas 2016-09-21 01:52:58 +02:00 committed by GitHub
commit 2c15f12dbb

2
main.c
View file

@ -333,7 +333,7 @@ int main(int argc, char *argv[])
else if (!strstr(eptr,"NOCONFIG")) else if (!strstr(eptr,"NOCONFIG"))
read_config(control); read_config(control);
while ((c = getopt_long(argc, argv, "bcCdDefghHikKlL:nN:o:O:pPqrS:tTUm:vVw:z?123456789", long_options, &i)) != -1) { while ((c = getopt_long(argc, argv, "bcCdDefghHikKlL:nN:o:O:p:PqrS:tTUm:vVw:z?123456789", long_options, &i)) != -1) {
switch (c) { switch (c) {
case 'b': case 'b':
if (control->flags & FLAG_NOT_LZMA) if (control->flags & FLAG_NOT_LZMA)