aboutsummaryrefslogtreecommitdiff
path: root/usage.h
diff options
context:
space:
mode:
Diffstat (limited to 'usage.h')
-rw-r--r--usage.h23
1 files changed, 15 insertions, 8 deletions
diff --git a/usage.h b/usage.h
index 8ba86d569..f241d3a04 100644
--- a/usage.h
+++ b/usage.h
@@ -468,6 +468,13 @@
468 "Options:\n" \ 468 "Options:\n" \
469 "\t-l\tList all signal names and numbers." 469 "\t-l\tList all signal names and numbers."
470 470
471#define klogd_trivial_usage \
472 "-n"
473#define klogd_full_usage \
474 "Kernel logger.\n"\
475 "Options:\n"\
476 "\t-n\tRun as a foreground process."
477
471#define length_trivial_usage \ 478#define length_trivial_usage \
472 "STRING" 479 "STRING"
473#define length_full_usage \ 480#define length_full_usage \
@@ -513,6 +520,12 @@
513#define logname_full_usage \ 520#define logname_full_usage \
514 "Print the name of the current user." 521 "Print the name of the current user."
515 522
523#define logread_trivial_usage \
524 ""
525
526#define logread_full_usage \
527 "Shows the messages from syslogd (using circular buffer)."
528
516#ifdef BB_FEATURE_LS_TIMESTAMPS 529#ifdef BB_FEATURE_LS_TIMESTAMPS
517 #define USAGE_LS_TIMESTAMPS(a) a 530 #define USAGE_LS_TIMESTAMPS(a) a
518#else 531#else
@@ -913,11 +926,6 @@
913 "Write all buffered filesystem blocks to disk." 926 "Write all buffered filesystem blocks to disk."
914 927
915 928
916#ifdef BB_FEATURE_KLOGD
917 #define USAGE_KLOGD(a) a
918#else
919 #define USAGE_KLOGD(a)
920#endif
921#ifdef BB_FEATURE_REMOTE_LOG 929#ifdef BB_FEATURE_REMOTE_LOG
922 #define USAGE_REMOTE_LOG(a) a 930 #define USAGE_REMOTE_LOG(a) a
923#else 931#else
@@ -926,12 +934,11 @@
926#define syslogd_trivial_usage \ 934#define syslogd_trivial_usage \
927 "[OPTION]..." 935 "[OPTION]..."
928#define syslogd_full_usage \ 936#define syslogd_full_usage \
929 "Linux system and kernel (provides klogd) logging utility.\n" \ 937 "Linux system and kernel logging utility.\n" \
930 "Note that this version of syslogd/klogd ignores /etc/syslog.conf.\n\n" \ 938 "Note that this version of syslogd ignores /etc/syslog.conf.\n\n" \
931 "Options:\n" \ 939 "Options:\n" \
932 "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" \ 940 "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" \
933 "\t-n\t\tRun as a foreground process\n" \ 941 "\t-n\t\tRun as a foreground process\n" \
934 USAGE_KLOGD("\t-K\t\tDo not start up the klogd process\n") \
935 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ 942 "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \
936 USAGE_REMOTE_LOG( \ 943 USAGE_REMOTE_LOG( \
937 "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \ 944 "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \