From: Karel Zak Date: Tue, 16 Aug 2011 12:25:05 +0000 (+0200) Subject: swapon: rewrite usage() X-Git-Tag: v2.20-rc2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53e20cec14d63fae0b5b163f6640a58fcbee4e9d;p=thirdparty%2Futil-linux.git swapon: rewrite usage() Signed-off-by: Karel Zak --- diff --git a/mount/swapon.c b/mount/swapon.c index 786b2c7741..d70c37922a 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -90,36 +90,47 @@ static const struct option *longswapoffopts = &longswaponopts[4]; static int cannot_find(const char *special); #define PRINT_USAGE_SPECIAL(_fp) \ - fprintf(_fp, _( \ - "The parameter:\n" \ - " {-L label | LABEL=label} LABEL of device to be used\n" \ - " {-U uuid | UUID=uuid} UUID of device to be used\n" \ - " name of device to be used\n" \ - " name of file to be used\n\n")) + fputs(_("\nThe parameter:\n" \ + " -L