ok, last fix wasn't correct... this one is better

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-10-02 01:21:31 +02:00
parent 963f52fc59
commit f228913fed

View File

@ -66,12 +66,15 @@ int main(void)
names = applet_names;
usage = usage_messages;
while (*names && *usage) {
while (*names) {
if (*names >= 'a' && *names <= 'z'
&& *usage != NOUSAGE_STR[0]
) {
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;
usage += strlen(usage) + 1;