From 6f162034d0fc9a49ab1dcf2b773fa9677215cba3 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sat, 17 Sep 2011 12:52:32 +0200 Subject: build-sys: fixes to USAGE_* macros The USAGE_BEGIN_TAIL is removed as unnecessary. In between command specific options and --help & --version USAGE_SEPARATOR is inserted. For now the separator is empty line. The USAGE_MAN_TAIL is changed to take an argument. Signed-off-by: Sami Kerola --- include/c.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/c.h') diff --git a/include/c.h b/include/c.h index 975cc1bf4..ba274f45f 100644 --- a/include/c.h +++ b/include/c.h @@ -216,10 +216,10 @@ static inline int dirfd(DIR *d) */ #define USAGE_HEADER _("\nUsage:\n") #define USAGE_OPTIONS _("\nOptions:\n") +#define USAGE_SEPARATOR _("\n") #define USAGE_HELP _(" -h, --help display this help and exit\n") #define USAGE_VERSION _(" -V, --version output version information and exit\n") -#define USAGE_BEGIN_TAIL _("\n") -#define USAGE_MAN_TAIL _("For more details see %s.\n") +#define USAGE_MAN_TAIL(_man) _("\nFor more details see %s.\n"), _man #define UTIL_LINUX_VERSION _("%s from %s\n"), program_invocation_short_name, PACKAGE_STRING -- cgit v1.2.3-55-g7522