diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-04-17 16:11:25 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-04-17 16:11:25 +0200 |
| commit | 53772869bc4ecfe68ac8d53c50a6057e7872df06 (patch) | |
| tree | 12dd91969eace0a1017801702b4da05020cbefd3 /miscutils | |
| parent | 75e1e7b3d538fa1a2396cd36122e0be702931345 (diff) | |
| download | busybox-w32-53772869bc4ecfe68ac8d53c50a6057e7872df06.tar.gz busybox-w32-53772869bc4ecfe68ac8d53c50a6057e7872df06.tar.bz2 busybox-w32-53772869bc4ecfe68ac8d53c50a6057e7872df06.zip | |
who,less: tweaked help text
function old new delta
packed_usage 29176 29173 -3
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
| -rw-r--r-- | miscutils/less.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 045fd2db3..f0187bf8a 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
| @@ -42,14 +42,11 @@ | |||
| 42 | //config: brackets, facilitating programming. | 42 | //config: brackets, facilitating programming. |
| 43 | //config: | 43 | //config: |
| 44 | //config:config FEATURE_LESS_FLAGS | 44 | //config:config FEATURE_LESS_FLAGS |
| 45 | //config: bool "Enable extra flags" | 45 | //config: bool "Enable -m/-M" |
| 46 | //config: default y | 46 | //config: default y |
| 47 | //config: depends on LESS | 47 | //config: depends on LESS |
| 48 | //config: help | 48 | //config: help |
| 49 | //config: The extra flags provided do the following: | 49 | //config: The -M/-m flag enables a more sophisticated status line. |
| 50 | //config: | ||
| 51 | //config: The -M flag enables a more sophisticated status line. | ||
| 52 | //config: The -m flag enables a simpler status line with a percentage. | ||
| 53 | //config: | 50 | //config: |
| 54 | //config:config FEATURE_LESS_MARKS | 51 | //config:config FEATURE_LESS_MARKS |
| 55 | //config: bool "Enable marks" | 52 | //config: bool "Enable marks" |
| @@ -101,15 +98,17 @@ | |||
| 101 | //config: Enables "-N" command. | 98 | //config: Enables "-N" command. |
| 102 | 99 | ||
| 103 | //usage:#define less_trivial_usage | 100 | //usage:#define less_trivial_usage |
| 104 | //usage: "[-EMNmh~I?] [FILE]..." | 101 | //usage: "[-E" IF_FEATURE_LESS_FLAGS("Mm") "Nh~I?] [FILE]..." |
| 105 | //usage:#define less_full_usage "\n\n" | 102 | //usage:#define less_full_usage "\n\n" |
| 106 | //usage: "View FILE (or stdin) one screenful at a time\n" | 103 | //usage: "View FILE (or stdin) one screenful at a time\n" |
| 107 | //usage: "\n -E Quit once the end of a file is reached" | 104 | //usage: "\n -E Quit once the end of a file is reached" |
| 105 | //usage: IF_FEATURE_LESS_FLAGS( | ||
| 108 | //usage: "\n -M,-m Display status line with line numbers" | 106 | //usage: "\n -M,-m Display status line with line numbers" |
| 109 | //usage: "\n and percentage through the file" | 107 | //usage: "\n and percentage through the file" |
| 108 | //usage: ) | ||
| 110 | //usage: "\n -N Prefix line number to each line" | 109 | //usage: "\n -N Prefix line number to each line" |
| 111 | //usage: "\n -I Ignore case in all searches" | 110 | //usage: "\n -I Ignore case in all searches" |
| 112 | //usage: "\n -~ Suppress ~s displayed past the end of the file" | 111 | //usage: "\n -~ Suppress ~s displayed past EOF" |
| 113 | 112 | ||
| 114 | #include <sched.h> /* sched_yield() */ | 113 | #include <sched.h> /* sched_yield() */ |
| 115 | 114 | ||
