From db3ab1890cff2d3447e42bc60fbcd9d7986b0573 Mon Sep 17 00:00:00 2001 From: Nikola Pajkovsky Date: Fri, 8 Oct 2010 10:55:51 +0200 Subject: use OPT__HELP macro for help option Signed-off-by: Nikola Pajkovsky --- src/daemon/Daemon.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon/Daemon.cpp') diff --git a/src/daemon/Daemon.cpp b/src/daemon/Daemon.cpp index eb1e21fc..1ee1b57c 100644 --- a/src/daemon/Daemon.cpp +++ b/src/daemon/Daemon.cpp @@ -869,7 +869,7 @@ static int daemonize_opt, syslog_opt, help_opt; static char *timeout_opt; static struct options abrtd_options[] = { - OPT_BOOL( 'h' , "help", &help_opt, _("Show this help message")), + OPT__HELP(&help_opt), OPT_BOOL( 'd' , 0, &daemonize_opt, _("Do not daemonize")), OPT_BOOL( 's' , 0, &syslog_opt, _("Log to syslog even with -d")), OPT_INTEGER( 't' , 0, &timeout_opt, _("Exit after SEC seconds of inactivity")), -- cgit