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 --- disk-utils/mkfs.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'disk-utils/mkfs.c') diff --git a/disk-utils/mkfs.c b/disk-utils/mkfs.c index f10ba2890..dbc938f1a 100644 --- a/disk-utils/mkfs.c +++ b/disk-utils/mkfs.c @@ -44,11 +44,10 @@ static void __attribute__ ((__noreturn__)) usage(FILE * out) { - fprintf(out, _("Usage:\n")); + fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] [-t ] [fs-options] []\n"), program_invocation_short_name); - - fprintf(out, _("\nOptions:\n")); + fputs(USAGE_OPTIONS, out); fprintf(out, _(" -t, --type= filesystem type; when unspecified, ext2 is used\n")); fprintf(out, _(" fs-options parameters for the real filesystem builder\n")); fprintf(out, _(" path to the device to be used\n")); -- cgit v1.2.3-55-g7522