diff options
| author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-06 16:08:04 +0000 |
|---|---|---|
| committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-06 16:08:04 +0000 |
| commit | 7bdf0c82da3713ec2a0f0090ba663c1167d10a67 (patch) | |
| tree | fa1fef1fcc9071ccaca979724d64e9095a92e351 /include | |
| parent | 797c96d8ce8765e11510e9dcd4c484ed3ced532c (diff) | |
| download | busybox-w32-7bdf0c82da3713ec2a0f0090ba663c1167d10a67.tar.gz busybox-w32-7bdf0c82da3713ec2a0f0090ba663c1167d10a67.tar.bz2 busybox-w32-7bdf0c82da3713ec2a0f0090ba663c1167d10a67.zip | |
klogd: make help text more understandable
klogd: by using a register instead of global variable, shrink code a bit
function old new delta
klogd_main 372 362 -10
packed_usage 24504 24486 -18
text data bss dec hex filename
808464 642 7180 816286 c749e busybox_old
808422 642 7180 816244 c7474 busybox_unstripped
Diffstat (limited to 'include')
| -rw-r--r-- | include/usage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index f9a831e85..44e618222 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -2063,11 +2063,11 @@ | |||
| 2063 | "\n -l List all signal names and numbers" \ | 2063 | "\n -l List all signal names and numbers" \ |
| 2064 | 2064 | ||
| 2065 | #define klogd_trivial_usage \ | 2065 | #define klogd_trivial_usage \ |
| 2066 | "[-c n] [-n]" | 2066 | "[-c N] [-n]" |
| 2067 | #define klogd_full_usage "\n\n" \ | 2067 | #define klogd_full_usage "\n\n" \ |
| 2068 | "Kernel logger\n" \ | 2068 | "Kernel logger\n" \ |
| 2069 | "\nOptions:" \ | 2069 | "\nOptions:" \ |
| 2070 | "\n -c n Set the default log level of console messages to n" \ | 2070 | "\n -c N Only messages with level < N are printed to console" \ |
| 2071 | "\n -n Run in foreground" \ | 2071 | "\n -n Run in foreground" \ |
| 2072 | 2072 | ||
| 2073 | #define length_trivial_usage \ | 2073 | #define length_trivial_usage \ |
