From f228913fed5759e99c071b206dd92e111066e234 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 2 Oct 2009 01:21:31 +0200 Subject: ok, last fix wasn't correct... this one is better Signed-off-by: Denys Vlasenko --- applets/usage_pod.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/applets/usage_pod.c b/applets/usage_pod.c index c1182fdc6..ee3729d7b 100644 --- a/applets/usage_pod.c +++ b/applets/usage_pod.c @@ -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; -- cgit v1.2.3