diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /sysklogd/logger.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
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.c | 12 |
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 @@ | |||
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | //usage:#define logger_trivial_usage | ||
11 | //usage: "[OPTIONS] [MESSAGE]" | ||
12 | //usage:#define logger_full_usage "\n\n" | ||
13 | //usage: "Write MESSAGE (or stdin) to syslog\n" | ||
14 | //usage: "\nOptions:" | ||
15 | //usage: "\n -s Log to stderr as well as the system log" | ||
16 | //usage: "\n -t TAG Log using the specified tag (defaults to user name)" | ||
17 | //usage: "\n -p PRIO Priority (numeric or facility.level pair)" | ||
18 | //usage: | ||
19 | //usage:#define logger_example_usage | ||
20 | //usage: "$ logger \"hello\"\n" | ||
21 | |||
10 | /* | 22 | /* |
11 | * Done in syslogd_and_logger.c: | 23 | * Done in syslogd_and_logger.c: |
12 | #include "libbb.h" | 24 | #include "libbb.h" |