projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1df91bd
)
maint: factor out all `Try --help'-emitting statements
author
Jim Meyering
<meyering@redhat.com>
Sat, 7 Jan 2012 15:42:41 +0000
(16:42 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Sat, 7 Jan 2012 15:42:41 +0000
(16:42 +0100)
* src/system.h (emit_try_help): New function.
src/system.h
patch
|
blob
|
history
diff --git
a/src/system.h
b/src/system.h
index
5f68af1
..
ff88cb4
100644
(file)
--- 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 *