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 --- login-utils/chfn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'login-utils/chfn.c') diff --git a/login-utils/chfn.c b/login-utils/chfn.c index ca10fbfdb..25f7e91e3 100644 --- a/login-utils/chfn.c +++ b/login-utils/chfn.c @@ -87,8 +87,8 @@ static void __attribute__((__noreturn__)) usage(FILE *fp) fputs(_(" -p, --office-phone office phone number\n"), fp); fputs(_(" -h, --home-phone home phone number\n"), fp); fputs(USAGE_SEPARATOR, fp); - fputs(_(" -u, --help display this help and exit\n"), fp); - fputs(_(" -v, --version output version information and exit\n"), fp); + fputs(USAGE_HELP, fp); + fputs(USAGE_VERSION, fp); fprintf(fp, USAGE_MAN_TAIL("chfn(1)")); exit(fp == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } -- cgit v1.2.3-55-g7522