From d08a2b44b5d57fb2b52869372decfb35802c7557 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Wed, 28 Nov 2007 15:01:14 +0100 Subject: [PATCH] swapon: fix typo in usage() Signed-off-by: Karel Zak --- mount/swapon.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mount/swapon.c b/mount/swapon.c index 2c8b4fc2..c89c02f0 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -60,7 +60,7 @@ static int cannot_find(const char *special); #define PRINT_USAGE_SPECIAL(_fp) \ fprintf(_fp, _( \ - "Special parameter:\n" \ + "The parameter:\n" \ " {-L label | LABEL=label} volume LABEL\n" \ " {-U uuid | UUID=uuid} volume UUID\n" \ " swap file\n" \ @@ -71,9 +71,9 @@ swapon_usage(FILE *fp, int n) { fprintf(fp, _("\nUsage:\n" " %1$s -a [-e] [-v] enable all swaps from /etc/fstab\n" " %1$s [-v] [-p priority] enable swap\n" - " %1$s [-s] display swap usage summary\n" - " %1$s [-h] display help\n" - " %1$s [-V] display version\n\n"), progname); + " %1$s -s display swap usage summary\n" + " %1$s -h display help\n" + " %1$s -V display version\n\n"), progname); PRINT_USAGE_SPECIAL(fp); @@ -85,8 +85,8 @@ swapoff_usage(FILE *fp, int n) { fprintf(fp, _("\nUsage:\n" " %1$s -a [-v] disable all swaps\n" " %1$s [-v] disable given swap\n" - " %1$s [-h] display help\n" - " %1$s [-V] display version\n\n"), progname); + " %1$s -h display help\n" + " %1$s -V display version\n\n"), progname); PRINT_USAGE_SPECIAL(fp); -- 2.39.5