diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-05 10:36:17 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2021-06-05 10:36:17 +0200 |
commit | 08ea7be73bca11aa2de65cb24a4102233d2ff32c (patch) | |
tree | 3aa2b2107e224bbbf0d35b1f5c239c1fba373357 /coreutils | |
parent | df0383c624fa86d89cc438517340b4277366f133 (diff) | |
download | busybox-w32-08ea7be73bca11aa2de65cb24a4102233d2ff32c.tar.gz busybox-w32-08ea7be73bca11aa2de65cb24a4102233d2ff32c.tar.bz2 busybox-w32-08ea7be73bca11aa2de65cb24a4102233d2ff32c.zip |
ls: trim --help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r-- | coreutils/ls.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/coreutils/ls.c b/coreutils/ls.c index 1f7d7f7bf..9e8561606 100644 --- a/coreutils/ls.c +++ b/coreutils/ls.c | |||
@@ -109,11 +109,11 @@ | |||
109 | //usage:#define ls_full_usage "\n\n" | 109 | //usage:#define ls_full_usage "\n\n" |
110 | //usage: "List directory contents\n" | 110 | //usage: "List directory contents\n" |
111 | //usage: "\n -1 One column output" | 111 | //usage: "\n -1 One column output" |
112 | //usage: "\n -a Include entries which start with ." | 112 | //usage: "\n -a Include names starting with ." |
113 | //usage: "\n -A Like -a, but exclude . and .." | 113 | //usage: "\n -A Like -a, but exclude . and .." |
114 | ////usage: "\n -C List by columns" - don't show, this is a default anyway | 114 | ////usage: "\n -C List by columns" - don't show, this is a default anyway |
115 | //usage: "\n -x List by lines" | 115 | //usage: "\n -x List by lines" |
116 | //usage: "\n -d List directory entries instead of contents" | 116 | //usage: "\n -d List directory names, not contents" |
117 | //usage: IF_FEATURE_LS_FOLLOWLINKS( | 117 | //usage: IF_FEATURE_LS_FOLLOWLINKS( |
118 | //usage: "\n -L Follow symlinks" | 118 | //usage: "\n -L Follow symlinks" |
119 | //usage: "\n -H Follow symlinks on command line" | 119 | //usage: "\n -H Follow symlinks on command line" |
@@ -122,10 +122,10 @@ | |||
122 | //usage: "\n -R Recurse" | 122 | //usage: "\n -R Recurse" |
123 | //usage: ) | 123 | //usage: ) |
124 | //usage: IF_FEATURE_LS_FILETYPES( | 124 | //usage: IF_FEATURE_LS_FILETYPES( |
125 | //usage: "\n -p Append / to dir entries" | 125 | //usage: "\n -p Append / to directory names" |
126 | //usage: "\n -F Append indicator (one of */=@|) to entries" | 126 | //usage: "\n -F Append indicator (one of */=@|) to names" |
127 | //usage: ) | 127 | //usage: ) |
128 | //usage: "\n -l Long listing format" | 128 | //usage: "\n -l Long format" |
129 | //usage: "\n -i List inode numbers" | 129 | //usage: "\n -i List inode numbers" |
130 | //usage: "\n -n List numeric UIDs and GIDs instead of names" | 130 | //usage: "\n -n List numeric UIDs and GIDs instead of names" |
131 | //usage: "\n -s List allocated blocks" | 131 | //usage: "\n -s List allocated blocks" |
@@ -134,7 +134,7 @@ | |||
134 | //usage: "\n -lu List atime" | 134 | //usage: "\n -lu List atime" |
135 | //usage: ) | 135 | //usage: ) |
136 | //usage: IF_FEATURE_LS_TIMESTAMPS(IF_LONG_OPTS( | 136 | //usage: IF_FEATURE_LS_TIMESTAMPS(IF_LONG_OPTS( |
137 | //usage: "\n --full-time List full date and time" | 137 | //usage: "\n --full-time List full date/time" |
138 | //usage: )) | 138 | //usage: )) |
139 | //usage: IF_FEATURE_HUMAN_READABLE( | 139 | //usage: IF_FEATURE_HUMAN_READABLE( |
140 | //usage: "\n -h Human readable sizes (1K 243M 2G)" | 140 | //usage: "\n -h Human readable sizes (1K 243M 2G)" |
@@ -160,7 +160,7 @@ | |||
160 | //usage: "\n -w N Format N columns wide" | 160 | //usage: "\n -w N Format N columns wide" |
161 | //usage: ) | 161 | //usage: ) |
162 | //usage: IF_FEATURE_LS_COLOR( | 162 | //usage: IF_FEATURE_LS_COLOR( |
163 | //usage: "\n --color[={always,never,auto}] Control coloring" | 163 | //usage: "\n --color[={always,never,auto}]" |
164 | //usage: ) | 164 | //usage: ) |
165 | 165 | ||
166 | #include "libbb.h" | 166 | #include "libbb.h" |
@@ -187,7 +187,7 @@ | |||
187 | 187 | ||
188 | 188 | ||
189 | enum { | 189 | enum { |
190 | TERMINAL_WIDTH = 80, /* use 79 if terminal has linefold bug */ | 190 | TERMINAL_WIDTH = 80, /* use 79 if terminal has linefold bug */ |
191 | 191 | ||
192 | SPLIT_FILE = 0, | 192 | SPLIT_FILE = 0, |
193 | SPLIT_DIR = 1, | 193 | SPLIT_DIR = 1, |
@@ -298,7 +298,7 @@ struct dnode { | |||
298 | // but there are invisible fields as well | 298 | // but there are invisible fields as well |
299 | // (such as nanosecond-resolution timespamps) | 299 | // (such as nanosecond-resolution timespamps) |
300 | // and padding, which we also don't want to store. | 300 | // and padding, which we also don't want to store. |
301 | // We also can pre-parse dev_t dn_rdev (in glibc, it's huge). | 301 | // We also pre-parse dev_t dn_rdev (in glibc, it's huge). |
302 | // On 32-bit uclibc: dnode size went from 112 to 84 bytes. | 302 | // On 32-bit uclibc: dnode size went from 112 to 84 bytes. |
303 | // | 303 | // |
304 | /* Same names as in struct stat, but with dn_ instead of st_ pfx: */ | 304 | /* Same names as in struct stat, but with dn_ instead of st_ pfx: */ |