summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <coordinator@translationproject.org>2013-10-10 09:56:44 +1100
committerCraig Small <csmall@enc.com.au>2013-10-10 09:56:44 +1100
commit099bf9a26a074a7f58442aa0c907980459afdc02 (patch)
tree55dccab0f2d3c569312fbff30445ffba7132e37d
parent422a4a5e6756c8e7864318ce72a9dd85ae083bf8 (diff)
downloadprocps-ng-099bf9a26a074a7f58442aa0c907980459afdc02.tar.gz
Update free text to help translators
Split up the free options so that each option has its own gettext field, for ease of translating. Signed-off-by: Craig Small <csmall@enc.com.au>
-rw-r--r--free.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/free.c b/free.c
index ffc4b86..d95feaa 100644
--- a/free.c
+++ b/free.c
@@ -73,20 +73,20 @@ static void __attribute__ ((__noreturn__))
fprintf(out,
_(" %s [options]\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
- fputs(_(" -b, --bytes show output in bytes\n"
- " -k, --kilo show output in kilobytes\n"
- " -m, --mega show output in megabytes\n"
- " -g, --giga show output in gigabytes\n"
- " --tera show output in terabytes\n"
- " -h, --human show human readable output\n"
- " --si use powers of 1000 not 1024\n"
- " -l, --lohi show detailed low and high memory statistics\n"
- " -o, --old use old format (no -/+buffers/cache line)\n"
- " -t, --total show total for RAM + swap\n"
- " -s N, --seconds N repeat printing every N seconds\n"
- " -c N, --count N repeat printing N times\n"), out);
+ fputs(_(" -b, --bytes show output in bytes\n"), out);
+ fputs(_(" -k, --kilo show output in kilobytes\n"), out);
+ fputs(_(" -m, --mega show output in megabytes\n"), out);
+ fputs(_(" -g, --giga show output in gigabytes\n"), out);
+ fputs(_(" --tera show output in terabytes\n"), out);
+ fputs(_(" -h, --human show human-readable output\n"), out);
+ fputs(_(" --si use powers of 1000 not 1024\n"), out);
+ fputs(_(" -l, --lohi show detailed low and high memory statistics\n"), out);
+ fputs(_(" -o, --old use old format (without -/+buffers/cache line)\n"), out);
+ fputs(_(" -t, --total show total for RAM + swap\n"), out);
+ fputs(_(" -s N, --seconds N repeat printing every N seconds\n"), out);
+ fputs(_(" -c N, --count N repeat printing N times, then exit\n"), out);
fputs(USAGE_SEPARATOR, out);
- fputs(_(" --help display this help text\n"), out);
+ fputs(_(" --help display this help and exit\n"), out);
fputs(USAGE_VERSION, out);
fprintf(out, USAGE_MAN_TAIL("free(1)"));