Cliparser cleanup

Update to remove "=" from help text
update md file, fix typos and better notses for the options.
This commit is contained in:
mwalker33
2020-10-03 19:06:01 +10:00
parent 9b7dd1cc4f
commit e6398674b0
2 changed files with 27 additions and 15 deletions

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);