diff options
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r-- | sysklogd/logger.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c index 120f6a7..0fabd97 100644 --- a/sysklogd/logger.c +++ b/sysklogd/logger.c @@ -7,6 +7,18 @@ * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//usage:#define logger_trivial_usage +//usage: "[OPTIONS] [MESSAGE]" +//usage:#define logger_full_usage "\n\n" +//usage: "Write MESSAGE (or stdin) to syslog\n" +//usage: "\nOptions:" +//usage: "\n -s Log to stderr as well as the system log" +//usage: "\n -t TAG Log using the specified tag (defaults to user name)" +//usage: "\n -p PRIO Priority (numeric or facility.level pair)" +//usage: +//usage:#define logger_example_usage +//usage: "$ logger \"hello\"\n" + /* * Done in syslogd_and_logger.c: #include "libbb.h" |