Lots of updates. Finished implementing BB_FEATURE_TRIVIAL_HELP
[oweals/busybox.git] / sysklogd / logger.c
index db6d9bfc5883747493cc69be5ce8948afcf79c23..118a5ded053fc742c2c4f92c5af447b123652d0a 100644 (file)
@@ -48,14 +48,17 @@ extern CODE facilitynames[];
 #endif
 
 static const char logger_usage[] =
-       "logger [OPTION]... [MESSAGE]\n\n"
-       "Write MESSAGE to the system log.  If MESSAGE is '-', log stdin.\n\n"
+       "logger [OPTION]... [MESSAGE]\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+       "\nWrite MESSAGE to the system log.  If MESSAGE is '-', 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"
 
        "\t-p\tEnter the message with the specified priority.\n"
-       "\t\tThis may be numerical or a ``facility.level'' pair.\n";
+       "\t\tThis may be numerical or a ``facility.level'' pair.\n"
+#endif
+       ;
 
 
 /* Decode a symbolic name to a numeric value