From 22af6d97526e52e1fc14a86d811c92e421a67577 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 7 Jan 2012 16:42:41 +0100 Subject: maint: factor out all `Try --help'-emitting statements * src/system.h (emit_try_help): New function. --- src/system.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/system.h b/src/system.h index 5f68af10a..ff88cb473 100644 --- a/src/system.h +++ b/src/system.h @@ -556,6 +556,12 @@ emit_ancillary_info (void) "info coreutils '%s invocation'\n"), last_component (program_name)); } +static inline void +emit_try_help (void) +{ + fprintf (stderr, _("Try `%s --help' for more information.\n"), program_name); +} + #include "inttostr.h" static inline char * -- cgit v1.2.3-54-g00ecf