From: Karel Zak Date: Wed, 28 Nov 2007 14:01:14 +0000 (+0100) Subject: swapon: fix typo in usage() X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d08a2b44b5d57fb2b52869372decfb35802c7557;p=util-linux swapon: fix typo in usage() Signed-off-by: Karel Zak --- 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);