aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/usage.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 967ab3f19..dad6078cd 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1602,6 +1602,11 @@
1602#else 1602#else
1603# define USAGE_AUTOWIDTH(a) 1603# define USAGE_AUTOWIDTH(a)
1604#endif 1604#endif
1605#ifdef CONFIG_FEATURE_LS_COLOR
1606 #define USAGE_LS_COLOR(a) a
1607#else
1608 #define USAGE_LS_COLOR(a)
1609#endif
1605 1610
1606#define ls_trivial_usage \ 1611#define ls_trivial_usage \
1607 "[-1Aa" USAGE_LS_TIMESTAMPS("c") "Cd" USAGE_LS_TIMESTAMPS("e") USAGE_LS_FILETYPES("F") "iln" USAGE_LS_FILETYPES("p") USAGE_LS_FOLLOWLINKS("L") USAGE_LS_RECURSIVE("R") USAGE_LS_SORTFILES("rS") "s" USAGE_AUTOWIDTH("T") USAGE_LS_TIMESTAMPS("tu") USAGE_LS_SORTFILES("v") USAGE_AUTOWIDTH("w") "x" USAGE_LS_SORTFILES("X") USAGE_HUMAN_READABLE("h") USAGE_NOT_HUMAN_READABLE("") "k" USAGE_SELINUX("K") "] [filenames...]" 1612 "[-1Aa" USAGE_LS_TIMESTAMPS("c") "Cd" USAGE_LS_TIMESTAMPS("e") USAGE_LS_FILETYPES("F") "iln" USAGE_LS_FILETYPES("p") USAGE_LS_FOLLOWLINKS("L") USAGE_LS_RECURSIVE("R") USAGE_LS_SORTFILES("rS") "s" USAGE_AUTOWIDTH("T") USAGE_LS_TIMESTAMPS("tu") USAGE_LS_SORTFILES("v") USAGE_AUTOWIDTH("w") "x" USAGE_LS_SORTFILES("X") USAGE_HUMAN_READABLE("h") USAGE_NOT_HUMAN_READABLE("") "k" USAGE_SELINUX("K") "] [filenames...]"
@@ -1613,6 +1618,7 @@
1613 "\t-a\tdo not hide entries starting with .\n" \ 1618 "\t-a\tdo not hide entries starting with .\n" \
1614 "\t-C\tlist entries by columns\n" \ 1619 "\t-C\tlist entries by columns\n" \
1615 USAGE_LS_TIMESTAMPS("\t-c\twith -l: show ctime\n") \ 1620 USAGE_LS_TIMESTAMPS("\t-c\twith -l: show ctime\n") \
1621 USAGE_LS_COLOR("\t--color[={always,never,auto}]\tto control coloring\n") \
1616 "\t-d\tlist directory entries instead of contents\n" \ 1622 "\t-d\tlist directory entries instead of contents\n" \
1617 USAGE_LS_TIMESTAMPS("\t-e\tlist both full date and full time\n") \ 1623 USAGE_LS_TIMESTAMPS("\t-e\tlist both full date and full time\n") \
1618 USAGE_LS_FILETYPES("\t-F\tappend indicator (one of */=@|) to entries\n") \ 1624 USAGE_LS_FILETYPES("\t-F\tappend indicator (one of */=@|) to entries\n") \