Merge pull request #990 from mwalker33/cliparser

Cliparser
This commit is contained in:
Iceman authored and GitHub committed 2020-10-03 11:13:13 +02:00
commit 8cea993287
2 files changed
+27 -15

No files matched your search

+6 -1
View File
@@ -4270,10 +4270,15 @@ static void arg_cat_optionv(char *dest,
}
if (datatype) {
if (longopts)
/* if (longopts)
arg_cat(&dest, "=", &ndest);
else if (shortopts)
arg_cat(&dest, " ", &ndest);
*/
if (longopts)
arg_cat(&dest, " ", &ndest);
else if (shortopts)
arg_cat(&dest, " ", &ndest);
if (optvalue) {
arg_cat(&dest, "[", &ndest);