kbdinfo: Change help message
authorAlexey Gladkov <gladkov.alexey@gmail.com>
Tue, 12 Apr 2011 11:14:01 +0000 (15:14 +0400)
committerAlexey Gladkov <gladkov.alexey@gmail.com>
Tue, 12 Apr 2011 11:14:01 +0000 (15:14 +0400)
Signed-off-by: Alexey Gladkov <gladkov.alexey@gmail.com>
src/kbdinfo.c

index 1df241a..615cfee 100644 (file)
@@ -14,10 +14,12 @@ static const char *value  = NULL;
 
 static void attr_noreturn
 usage(int code) {
-       fprintf(stderr, _("Usage: %s [-C DEVICE] getmode [text|graphics]\n"), progname);
-       fprintf(stderr, _("   or: %s [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode]\n"), progname);
-       fprintf(stderr, _("   or: %s [-C DEVICE] gkbmeta [metabit|escprefix]\n"), progname);
-       fprintf(stderr, _("   or: %s [-C DEVICE] gkbled  [scrolllock|numlock|capslock]\n"), progname);
+       fprintf(stderr,
+               _("Usage: %1$s [-C DEVICE] getmode [text|graphics]\n"
+                 "   or: %1$s [-C DEVICE] gkbmode [raw|xlate|mediumraw|unicode]\n"
+                 "   or: %1$s [-C DEVICE] gkbmeta [metabit|escprefix]\n"
+                 "   or: %1$s [-C DEVICE] gkbled  [scrolllock|numlock|capslock]\n"),
+               progname);
        exit(code);
 }