summaryrefslogtreecommitdiff
path: root/sysklogd/logger.c
diff options
context:
space:
mode:
authorPere Orga <gotrunks@gmail.com>2011-04-11 03:29:49 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2011-04-11 03:29:49 +0200
commit5bc8c005a8e15c43285bc595a8d404de67a482ac (patch)
tree98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /sysklogd/logger.c
parent73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff)
downloadbusybox-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'sysklogd/logger.c')
-rw-r--r--sysklogd/logger.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/sysklogd/logger.c b/sysklogd/logger.c
index 120f6a718..0fabd97ca 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"