summaryrefslogtreecommitdiffstats
path: root/sys-utils/swapon.c
diff options
context:
space:
mode:
authorBenno Schulenberg2014-10-27 22:18:12 +0100
committerKarel Zak2014-10-31 10:39:11 +0100
commit6ee8e19489ca2523aca65ab935af5efb90b50930 (patch)
treedbf2e4bf53fb103ba1a99cd8325c66bdc9e74603 /sys-utils/swapon.c
parentdocs: fix some wording and formatting in man page of swapon (diff)
downloadkernel-qcow2-util-linux-6ee8e19489ca2523aca65ab935af5efb90b50930.tar.gz
kernel-qcow2-util-linux-6ee8e19489ca2523aca65ab935af5efb90b50930.tar.xz
kernel-qcow2-util-linux-6ee8e19489ca2523aca65ab935af5efb90b50930.zip
textual: slice up the usage text of swapon for ease of translation
A new option was added recently; seize this opportunity to cut the usage text into small and easily managed chunks. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/swapon.c')
-rw-r--r--sys-utils/swapon.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c
index 8609ea242..f66461ebb 100644
--- a/sys-utils/swapon.c
+++ b/sys-utils/swapon.c
@@ -728,18 +728,18 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out)
fprintf(out, _(" %s [options] [<spec>]\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
- fputs(_(" -a, --all enable all swaps from /etc/fstab\n"
- " -d, --discard[=<policy>] enable swap discards, if supported by device\n"
- " -e, --ifexists silently skip devices that do not exist\n"
- " -f, --fixpgsz reinitialize the swap space if necessary\n"
- " -o, --options <list> comma-separated list of swap options\n"
- " -p, --priority <prio> specify the priority of the swap device\n"
- " -s, --summary display summary about used swap devices (DEPRECATED)\n"
- " --show[=<columns>] display summary in definable table\n"
- " --noheadings don't print headings, use with --show\n"
- " --raw use the raw output format, use with --show\n"
- " --bytes display swap size in bytes in --show output\n"
- " -v, --verbose verbose mode\n"), out);
+ fputs(_(" -a, --all enable all swaps from /etc/fstab\n"), out);
+ fputs(_(" -d, --discard[=<policy>] enable swap discards, if supported by device\n"), out);
+ fputs(_(" -e, --ifexists silently skip devices that do not exist\n"), out);
+ fputs(_(" -f, --fixpgsz reinitialize the swap space if necessary\n"), out);
+ fputs(_(" -o, --options <list> comma-separated list of swap options\n"), out);
+ fputs(_(" -p, --priority <prio> specify the priority of the swap device\n"), out);
+ fputs(_(" -s, --summary display summary about used swap devices (DEPRECATED)\n"), out);
+ fputs(_(" --show[=<columns>] display summary in definable table\n"), out);
+ fputs(_(" --noheadings don't print table heading (with --show)\n"), out);
+ fputs(_(" --raw use the raw output format (with --show)\n"), out);
+ fputs(_(" --bytes display swap size in bytes in --show output\n"), out);
+ fputs(_(" -v, --verbose verbose mode\n"), out);
fputs(USAGE_SEPARATOR, out);
fputs(USAGE_HELP, out);