diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 | ||||
-rw-r--r-- | include/usage.h | 5 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9de52331b..936d98a23 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -438,6 +438,7 @@ struct BUG_too_small { void parse_datestr(const char *date_str, struct tm *tm_time) FAST_FUNC; +time_t validate_tm_time(const char *date_str, struct tm *tm_time) FAST_FUNC; int xsocket(int domain, int type, int protocol) FAST_FUNC; diff --git a/include/usage.h b/include/usage.h index 53ae0a8cc..9493b6d4b 100644 --- a/include/usage.h +++ b/include/usage.h @@ -4556,11 +4556,12 @@ "and show the status for however many processes will fit on the screen." \ #define touch_trivial_usage \ - "[-c] FILE [FILE]..." + "[-c] [-d DATE] FILE [FILE]..." #define touch_full_usage "\n\n" \ "Update the last-modified date on the given FILE[s]\n" \ "\nOptions:" \ - "\n -c Do not create any files" \ + "\n -c Do not create files" \ + "\n -d DT Date/time to use" \ #define touch_example_usage \ "$ ls -l /tmp/foo\n" \ |