diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h index ba808d39a..c109d0cf6 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2214,6 +2214,11 @@ | |||
2214 | "Write all buffered filesystem blocks to disk." | 2214 | "Write all buffered filesystem blocks to disk." |
2215 | 2215 | ||
2216 | 2216 | ||
2217 | #ifdef CONFIG_FEATURE_ROTATE_LOGFILE | ||
2218 | #define USAGE_ROTATE_LOGFILE(a) a | ||
2219 | #else | ||
2220 | #define USAGE_ROTATE_LOGFILE(a) | ||
2221 | #endif | ||
2217 | #ifdef CONFIG_FEATURE_REMOTE_LOG | 2222 | #ifdef CONFIG_FEATURE_REMOTE_LOG |
2218 | #define USAGE_REMOTE_LOG(a) a | 2223 | #define USAGE_REMOTE_LOG(a) a |
2219 | #else | 2224 | #else |
@@ -2234,6 +2239,9 @@ | |||
2234 | "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" \ | 2239 | "\t-m NUM\t\tInterval between MARK lines (default=20min, 0=off)\n" \ |
2235 | "\t-n\t\tRun as a foreground process\n" \ | 2240 | "\t-n\t\tRun as a foreground process\n" \ |
2236 | "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ | 2241 | "\t-O FILE\t\tUse an alternate log file (default=/var/log/messages)" \ |
2242 | USAGE_ROTATE_LOGFILE( \ | ||
2243 | "\n\t-s SIZE\t\tMax size (KB) bevor rotate (default=200KB, 0=off)\n" \ | ||
2244 | "\t-b NUM\t\tNumber of rotated log files (default=1, 0=purge log)") \ | ||
2237 | USAGE_REMOTE_LOG( \ | 2245 | USAGE_REMOTE_LOG( \ |
2238 | "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \ | 2246 | "\n\t-R HOST[:PORT]\tLog to IP or hostname on PORT (default PORT=514/UDP)\n" \ |
2239 | "\t-L\t\tLog locally and via network logging (default is network only)") \ | 2247 | "\t-L\t\tLog locally and via network logging (default is network only)") \ |