ok, last fix wasn't correct... this one is better
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
963f52fc59
commit
f228913fed
@ -66,12 +66,15 @@ int main(void)
|
|||||||
|
|
||||||
names = applet_names;
|
names = applet_names;
|
||||||
usage = usage_messages;
|
usage = usage_messages;
|
||||||
while (*names && *usage) {
|
while (*names) {
|
||||||
if (*names >= 'a' && *names <= 'z'
|
if (*names >= 'a' && *names <= 'z'
|
||||||
&& *usage != NOUSAGE_STR[0]
|
&& *usage != NOUSAGE_STR[0]
|
||||||
) {
|
) {
|
||||||
printf("=item B<%s>\n\n", names);
|
printf("=item B<%s>\n\n", names);
|
||||||
printf("%s %s\n\n", names, usage);
|
if (*usage)
|
||||||
|
printf("%s %s\n\n", names, usage);
|
||||||
|
else
|
||||||
|
printf("%s\n\n", names);
|
||||||
}
|
}
|
||||||
names += strlen(names) + 1;
|
names += strlen(names) + 1;
|
||||||
usage += strlen(usage) + 1;
|
usage += strlen(usage) + 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user