diff options
author | Benno Schulenberg | 2007-11-28 20:18:48 +0100 |
---|---|---|
committer | Karel Zak | 2007-12-03 13:30:00 +0100 |
commit | ce6479e21c2c950831667b2802a0a80e3034300e (patch) | |
tree | 55d282ca27f5d7bb7df3f8bc8b58f8881db09551 /mount/swapon.c | |
parent | rtcwake: misc cleanups (diff) | |
download | kernel-qcow2-util-linux-ce6479e21c2c950831667b2802a0a80e3034300e.tar.gz kernel-qcow2-util-linux-ce6479e21c2c950831667b2802a0a80e3034300e.tar.xz kernel-qcow2-util-linux-ce6479e21c2c950831667b2802a0a80e3034300e.zip |
swapon: readjust the usage summaries
swapon.8: reorder options, lowercase command names, tweak sentences.
swapon.c: tweak descriptions, adjust spaces for proper alignment.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'mount/swapon.c')
-rw-r--r-- | mount/swapon.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/mount/swapon.c b/mount/swapon.c index c89c02f0f..34a183fa1 100644 --- a/mount/swapon.c +++ b/mount/swapon.c @@ -61,16 +61,16 @@ static int cannot_find(const char *special); #define PRINT_USAGE_SPECIAL(_fp) \ fprintf(_fp, _( \ "The <special> parameter:\n" \ - " {-L label | LABEL=label} volume LABEL\n" \ - " {-U uuid | UUID=uuid} volume UUID\n" \ - " <file> swap file\n" \ - " <device> swap device\n\n")) + " {-L label | LABEL=label} LABEL of device to be used\n" \ + " {-U uuid | UUID=uuid} UUID of device to be used\n" \ + " <device> name of device to be used\n" \ + " <file> name of file to be used\n\n")) static void 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 [-p priority] [-v] <special> enable given swap\n" " %1$s -s display swap usage summary\n" " %1$s -h display help\n" " %1$s -V display version\n\n"), progname); @@ -83,10 +83,10 @@ swapon_usage(FILE *fp, int n) { static void 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 -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); PRINT_USAGE_SPECIAL(fp); |