diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 16:42:41 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-07 16:42:41 +0100 |
commit | 22af6d97526e52e1fc14a86d811c92e421a67577 (patch) | |
tree | a7b4bbde9a809ddf0f931aee11eecc310d262428 /src | |
parent | 1df91bd6b97616fe29cf9c5f17907a9237a3d2e2 (diff) | |
download | coreutils-22af6d97526e52e1fc14a86d811c92e421a67577.tar.xz |
maint: factor out all `Try --help'-emitting statements
* src/system.h (emit_try_help): New function.
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 * |