diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-11-28 22:01:15 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-11-28 22:01:15 +0100 |
commit | f26c5660c2f4b6e096eca69f1de342fe3871ccf1 (patch) | |
tree | 07192268a9946aec2f62f3cb0626ca4bcf5e8f6b | |
parent | 900eae17384e52cd31d166c09d038cc6e1b64019 (diff) | |
download | busybox-w32-f26c5660c2f4b6e096eca69f1de342fe3871ccf1.tar.gz busybox-w32-f26c5660c2f4b6e096eca69f1de342fe3871ccf1.tar.bz2 busybox-w32-f26c5660c2f4b6e096eca69f1de342fe3871ccf1.zip |
date: trim --help (no need to show long opts)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/date.c | 28 |
1 files changed, 9 insertions, 19 deletions
diff --git a/coreutils/date.c b/coreutils/date.c index 7fead01bd..3a3344b90 100644 --- a/coreutils/date.c +++ b/coreutils/date.c | |||
@@ -96,30 +96,20 @@ | |||
96 | //usage: "[OPTIONS] [+FMT] [TIME]" | 96 | //usage: "[OPTIONS] [+FMT] [TIME]" |
97 | //usage:#define date_full_usage "\n\n" | 97 | //usage:#define date_full_usage "\n\n" |
98 | //usage: "Display time (using +FMT), or set time\n" | 98 | //usage: "Display time (using +FMT), or set time\n" |
99 | //usage: IF_NOT_LONG_OPTS( | ||
100 | //usage: "\n [-s] TIME Set time to TIME" | ||
101 | //usage: "\n -u Work in UTC (don't convert to local time)" | 99 | //usage: "\n -u Work in UTC (don't convert to local time)" |
102 | //usage: "\n -R Output RFC-2822 compliant date string" | 100 | //usage: "\n [-s] TIME Set time to TIME" |
103 | //usage: ) IF_LONG_OPTS( | 101 | //usage: "\n -d TIME Display TIME, not 'now'" |
104 | //usage: "\n [-s,--set] TIME Set time to TIME" | ||
105 | //usage: "\n -u,--utc Work in UTC (don't convert to local time)" | ||
106 | //usage: "\n -R,--rfc-2822 Output RFC-2822 compliant date string" | ||
107 | //usage: ) | ||
108 | //usage: IF_FEATURE_DATE_ISOFMT( | 102 | //usage: IF_FEATURE_DATE_ISOFMT( |
109 | //usage: "\n -I[SPEC] Output ISO-8601 compliant date string" | 103 | //usage: "\n -D FMT Use FMT (strptime format) for -d TIME conversion" |
110 | //usage: "\n SPEC='date' (default) for date only," | 104 | //////// ^^^^^^ busybox invention, not compat |
111 | //usage: "\n 'hours', 'minutes', or 'seconds' for date and" | ||
112 | //usage: "\n time to the indicated precision" | ||
113 | //usage: ) | 105 | //usage: ) |
114 | //usage: IF_NOT_LONG_OPTS( | ||
115 | //usage: "\n -r FILE Display last modification time of FILE" | 106 | //usage: "\n -r FILE Display last modification time of FILE" |
116 | //usage: "\n -d TIME Display TIME, not 'now'" | 107 | //usage: "\n -R Output RFC-2822 date" |
117 | //usage: ) IF_LONG_OPTS( | ||
118 | //usage: "\n -r,--reference FILE Display last modification time of FILE" | ||
119 | //usage: "\n -d,--date TIME Display TIME, not 'now'" | ||
120 | //usage: ) | ||
121 | //usage: IF_FEATURE_DATE_ISOFMT( | 108 | //usage: IF_FEATURE_DATE_ISOFMT( |
122 | //usage: "\n -D FMT Use FMT (strptime format) for -d TIME conversion" | 109 | //usage: "\n -I[SPEC] Output ISO-8601 date" |
110 | //usage: "\n SPEC='date' (default) for date only," | ||
111 | //usage: "\n 'hours', 'minutes', 'seconds' or 'ns'" | ||
112 | //usage: "\n for date and time" | ||
123 | //usage: ) | 113 | //usage: ) |
124 | //usage: "\n" | 114 | //usage: "\n" |
125 | //usage: "\nRecognized TIME formats:" | 115 | //usage: "\nRecognized TIME formats:" |