From db433bf737a5fd4e1c7cca5e3603934743eebd1c Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 28 Sep 2014 20:51:41 +0100 Subject: textual: use usage() text element macros Translating these text elements should happen only once, which is more likely when the text macros are used properly. Signed-off-by: Sami Kerola --- term-utils/script.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'term-utils/script.c') diff --git a/term-utils/script.c b/term-utils/script.c index d2b897416..7d3787e96 100644 --- a/term-utils/script.c +++ b/term-utils/script.c @@ -138,11 +138,11 @@ die_if_link(char *fn) { static void __attribute__((__noreturn__)) usage(FILE *out) { - fputs(_("\nUsage:\n"), out); + fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] [file]\n"), program_invocation_short_name); - fputs(_("\nOptions:\n"), out); + fputs(USAGE_OPTIONS, out); fputs(_(" -a, --append append the output\n" " -c, --command run command rather than interactive shell\n" " -e, --return return exit code of the child process\n" -- cgit v1.2.3-55-g7522