(print_arg): add a case for arg_strings

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9412 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-12-25 17:03:15 +00:00
parent 870cab56a7
commit 946da5d4b2

View File

@@ -58,11 +58,12 @@ print_arg (char *string, size_t len, int mdoc, int longp, struct getargs *arg)
if(longp) if(longp)
strlcat(string, "= Ns", len); strlcat(string, "= Ns", len);
strlcat(string, " Ar ", len); strlcat(string, " Ar ", len);
}else } else {
if (longp) if (longp)
strlcat (string, "=", len); strlcat (string, "=", len);
else else
strlcat (string, " ", len); strlcat (string, " ", len);
}
if (arg->arg_help) if (arg->arg_help)
s = arg->arg_help; s = arg->arg_help;
@@ -70,6 +71,8 @@ print_arg (char *string, size_t len, int mdoc, int longp, struct getargs *arg)
s = "integer"; s = "integer";
else if (arg->type == arg_string) else if (arg->type == arg_string)
s = "string"; s = "string";
else if (arg->type == arg_strings)
s = "strings";
else if (arg->type == arg_double) else if (arg->type == arg_double)
s = "float"; s = "float";
else else