mirror of
https://github.com/sheumann/hush.git
synced 2024-08-21 11:28:57 +00:00
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;
|
||||
usage = usage_messages;
|
||||
while (*names && *usage) {
|
||||
while (*names) {
|
||||
if (*names >= 'a' && *names <= 'z'
|
||||
&& *usage != NOUSAGE_STR[0]
|
||||
) {
|
||||
printf("=item B<%s>\n\n", names);
|
||||
if (*usage)
|
||||
printf("%s %s\n\n", names, usage);
|
||||
else
|
||||
printf("%s\n\n", names);
|
||||
}
|
||||
names += strlen(names) + 1;
|
||||
usage += strlen(usage) + 1;
|
||||
|
Loading…
Reference in New Issue
Block a user