Log stdin when no message given and use getopt.
This commit is contained in:
parent
28b3c53f0d
commit
1944f547bd
4 changed files with 36 additions and 78 deletions
|
@ -586,7 +586,7 @@ const char loadkmap_usage[] =
|
|||
const char logger_usage[] =
|
||||
"logger [OPTION]... [MESSAGE]\n"
|
||||
#ifndef BB_FEATURE_TRIVIAL_HELP
|
||||
"\nWrite MESSAGE to the system log. If MESSAGE is '-', log stdin.\n\n"
|
||||
"\nWrite MESSAGE to the system log. If MESSAGE is omitted, log stdin.\n\n"
|
||||
"Options:\n"
|
||||
"\t-s\tLog to stderr as well as the system log.\n"
|
||||
"\t-t\tLog using the specified tag (defaults to user name).\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue