]> err.no Git - util-linux/commitdiff
swapon: fix typo in usage()
authorKarel Zak <kzak@redhat.com>
Wed, 28 Nov 2007 14:01:14 +0000 (15:01 +0100)
committerKarel Zak <kzak@redhat.com>
Wed, 28 Nov 2007 14:01:14 +0000 (15:01 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/swapon.c

index 2c8b4fc2f6576759e3fc94a72de4ba85f6115a1c..c89c02f0f5c80b658f0e01787b9f4891a2b38584 100644 (file)
@@ -60,7 +60,7 @@ static int cannot_find(const char *special);
 
 #define PRINT_USAGE_SPECIAL(_fp) \
                fprintf(_fp, _( \
-       "Special parameter:\n" \
+       "The <special> parameter:\n" \
        " {-L label | LABEL=label}             volume LABEL\n" \
        " {-U uuid  | UUID=uuid}               volume UUID\n" \
        " <file>                               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] <special>  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] <special>                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);