From 1275d8a1c1a2ba836facebb1dc315112ddfbafe6 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 18 Mar 2012 16:11:28 +0100 Subject: [PATCH] swaplabel: add --version and align with howto-usage-function.txt Signed-off-by: Sami Kerola --- disk-utils/swaplabel.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/disk-utils/swaplabel.c b/disk-utils/swaplabel.c index d539a143dc..cc9a1e6aa3 100644 --- a/disk-utils/swaplabel.c +++ b/disk-utils/swaplabel.c @@ -153,16 +153,16 @@ err: static void __attribute__((__noreturn__)) usage(FILE *out) { - fprintf(out, _("Usage: %s [options] \n\nOptions:\n"), - program_invocation_short_name); - - fprintf(out, _( - " -h, --help this help\n" - " -L, --label