From 7f1ec5e8d4e69a655c5d5a956629ef7aec3a7ecd Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Tue, 16 Aug 2011 13:28:02 +0200 Subject: lscpu: cleanup usage() Signed-off-by: Karel Zak --- sys-utils/lscpu.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'sys-utils/lscpu.c') diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c index 50daf3c4c..2778c41b2 100644 --- a/sys-utils/lscpu.c +++ b/sys-utils/lscpu.c @@ -1033,15 +1033,15 @@ print_readable(struct lscpu_desc *desc, int hex) static void __attribute__((__noreturn__)) usage(FILE *out) { - fprintf(out, _( - "\nUsage:\n" - " %s [options]\n"), program_invocation_short_name); - - puts(_( "\nOptions:\n" - " -h, --help print this help\n" - " -p, --parse[=LIST] print out a parsable instead of a readable format\n" - " -s, --sysroot DIR use directory DIR as system root\n" - " -x, --hex print hexadecimal masks rather than lists of CPUs\n")); + fputs(_("\nUsage:\n"), out); + fprintf(out, + _(" %s [options]\n"), program_invocation_short_name); + + fputs(_("\nOptions:\n"), out); + fputs(_(" -h, --help print this help\n" + " -p, --parse print out a parsable instead of a readable format\n" + " -s, --sysroot use directory DIR as system root\n" + " -x, --hex print hexadecimal masks rather than lists of CPUs\n\n"), out); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); } -- cgit v1.2.3-55-g7522