ls: trim --help text

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2021-06-05 10:36:17 +02:00
parent df0383c624
commit 08ea7be73b

View File

@ -109,11 +109,11 @@
//usage:#define ls_full_usage "\n\n" //usage:#define ls_full_usage "\n\n"
//usage: "List directory contents\n" //usage: "List directory contents\n"
//usage: "\n -1 One column output" //usage: "\n -1 One column output"
//usage: "\n -a Include entries which start with ." //usage: "\n -a Include names starting with ."
//usage: "\n -A Like -a, but exclude . and .." //usage: "\n -A Like -a, but exclude . and .."
////usage: "\n -C List by columns" - don't show, this is a default anyway ////usage: "\n -C List by columns" - don't show, this is a default anyway
//usage: "\n -x List by lines" //usage: "\n -x List by lines"
//usage: "\n -d List directory entries instead of contents" //usage: "\n -d List directory names, not contents"
//usage: IF_FEATURE_LS_FOLLOWLINKS( //usage: IF_FEATURE_LS_FOLLOWLINKS(
//usage: "\n -L Follow symlinks" //usage: "\n -L Follow symlinks"
//usage: "\n -H Follow symlinks on command line" //usage: "\n -H Follow symlinks on command line"
@ -122,10 +122,10 @@
//usage: "\n -R Recurse" //usage: "\n -R Recurse"
//usage: ) //usage: )
//usage: IF_FEATURE_LS_FILETYPES( //usage: IF_FEATURE_LS_FILETYPES(
//usage: "\n -p Append / to dir entries" //usage: "\n -p Append / to directory names"
//usage: "\n -F Append indicator (one of */=@|) to entries" //usage: "\n -F Append indicator (one of */=@|) to names"
//usage: ) //usage: )
//usage: "\n -l Long listing format" //usage: "\n -l Long format"
//usage: "\n -i List inode numbers" //usage: "\n -i List inode numbers"
//usage: "\n -n List numeric UIDs and GIDs instead of names" //usage: "\n -n List numeric UIDs and GIDs instead of names"
//usage: "\n -s List allocated blocks" //usage: "\n -s List allocated blocks"
@ -134,7 +134,7 @@
//usage: "\n -lu List atime" //usage: "\n -lu List atime"
//usage: ) //usage: )
//usage: IF_FEATURE_LS_TIMESTAMPS(IF_LONG_OPTS( //usage: IF_FEATURE_LS_TIMESTAMPS(IF_LONG_OPTS(
//usage: "\n --full-time List full date and time" //usage: "\n --full-time List full date/time"
//usage: )) //usage: ))
//usage: IF_FEATURE_HUMAN_READABLE( //usage: IF_FEATURE_HUMAN_READABLE(
//usage: "\n -h Human readable sizes (1K 243M 2G)" //usage: "\n -h Human readable sizes (1K 243M 2G)"
@ -160,7 +160,7 @@
//usage: "\n -w N Format N columns wide" //usage: "\n -w N Format N columns wide"
//usage: ) //usage: )
//usage: IF_FEATURE_LS_COLOR( //usage: IF_FEATURE_LS_COLOR(
//usage: "\n --color[={always,never,auto}] Control coloring" //usage: "\n --color[={always,never,auto}]"
//usage: ) //usage: )
#include "libbb.h" #include "libbb.h"
@ -298,7 +298,7 @@ struct dnode {
// but there are invisible fields as well // but there are invisible fields as well
// (such as nanosecond-resolution timespamps) // (such as nanosecond-resolution timespamps)
// and padding, which we also don't want to store. // and padding, which we also don't want to store.
// We also can pre-parse dev_t dn_rdev (in glibc, it's huge). // We also pre-parse dev_t dn_rdev (in glibc, it's huge).
// On 32-bit uclibc: dnode size went from 112 to 84 bytes. // On 32-bit uclibc: dnode size went from 112 to 84 bytes.
// //
/* Same names as in struct stat, but with dn_ instead of st_ pfx: */ /* Same names as in struct stat, but with dn_ instead of st_ pfx: */