From: Benno Schulenberg Date: Mon, 27 Oct 2014 21:18:12 +0000 (+0100) Subject: textual: slice up the usage text of swapon for ease of translation X-Git-Tag: v2.26-rc1~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ee8e19489ca2523aca65ab935af5efb90b50930;p=thirdparty%2Futil-linux.git 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 --- diff --git a/sys-utils/swapon.c b/sys-utils/swapon.c index 8609ea242a..f66461ebb0 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] []\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); - fputs(_(" -a, --all enable all swaps from /etc/fstab\n" - " -d, --discard[=] 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 comma-separated list of swap options\n" - " -p, --priority specify the priority of the swap device\n" - " -s, --summary display summary about used swap devices (DEPRECATED)\n" - " --show[=] 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[=] 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 comma-separated list of swap options\n"), out); + fputs(_(" -p, --priority specify the priority of the swap device\n"), out); + fputs(_(" -s, --summary display summary about used swap devices (DEPRECATED)\n"), out); + fputs(_(" --show[=] 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);