mirror of
https://github.com/rfc1036/whois.git
synced 2026-05-03 06:51:09 +00:00
mkpasswd: correctly print the available methods as columns
This commit is contained in:
parent
b2ae96cf3f
commit
b91c9057da
@ -499,7 +499,7 @@ void display_methods(void)
|
||||
printf(_("Available methods:\n"));
|
||||
for (i = 0; methods[i].method != NULL; i++)
|
||||
if (methods[i].desc)
|
||||
printf("%s\t%s\n", methods[i].method, methods[i].desc);
|
||||
printf("%-15s %s\n", methods[i].method, methods[i].desc);
|
||||
}
|
||||
|
||||
char *read_line(FILE *fp) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user