]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
swapon: align available columns section in usage()
authorSami Kerola <kerolasa@iki.fi>
Sun, 28 Sep 2014 19:51:34 +0000 (20:51 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 1 Oct 2014 10:33:10 +0000 (12:33 +0200)
Commit 5db57cfc469b45ada0162a64d627ce25a3d2431f missed doing this change.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sys-utils/swapon.c

index 976f87e405adcb95d0cebd8dd7792533295031aa..1170f9e2e4642e025432ae67f0f0dd87efa70391 100644 (file)
@@ -735,7 +735,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
 
        fputs(_("\nAvailable columns (for --show):\n"), out);
        for (i = 0; i < ARRAY_SIZE(infos); i++)
-               fprintf(out, " %4s  %s\n", infos[i].name, _(infos[i].help));
+               fprintf(out, " %-5s  %s\n", infos[i].name, _(infos[i].help));
 
        fprintf(out, USAGE_MAN_TAIL("swapon(8)"));
        exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);