aboutsummaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-07-18 03:41:29 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2009-07-18 03:41:29 +0200
commit7aca89a7a32a1e560c447952c28a8b1e7fb775fc (patch)
treeb988939ee5fc2cf2235847d5f04ba5887b185e05 /include/usage.h
parent73b71f381d24218cf6368364be723a7b5c9aeda9 (diff)
downloadbusybox-w32-7aca89a7a32a1e560c447952c28a8b1e7fb775fc.tar.gz
busybox-w32-7aca89a7a32a1e560c447952c28a8b1e7fb775fc.tar.bz2
busybox-w32-7aca89a7a32a1e560c447952c28a8b1e7fb775fc.zip
touch: implement -d --date (our own testsuite needs that)
function old new delta static.uname_longopts - 137 +137 touch_main 231 360 +129 static.touch_longopts - 32 +32 validate_tm_time - 28 +28 packed_usage 26616 26624 +8 date_main 687 686 -1 static.longopts 162 - -162 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 2/1 up/down: 334/-163) Total: 171 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h5
1 files changed, 3 insertions, 2 deletions
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 @@
4556 "and show the status for however many processes will fit on the screen." \ 4556 "and show the status for however many processes will fit on the screen." \
4557 4557
4558#define touch_trivial_usage \ 4558#define touch_trivial_usage \
4559 "[-c] FILE [FILE]..." 4559 "[-c] [-d DATE] FILE [FILE]..."
4560#define touch_full_usage "\n\n" \ 4560#define touch_full_usage "\n\n" \
4561 "Update the last-modified date on the given FILE[s]\n" \ 4561 "Update the last-modified date on the given FILE[s]\n" \
4562 "\nOptions:" \ 4562 "\nOptions:" \
4563 "\n -c Do not create any files" \ 4563 "\n -c Do not create files" \
4564 "\n -d DT Date/time to use" \
4564 4565
4565#define touch_example_usage \ 4566#define touch_example_usage \
4566 "$ ls -l /tmp/foo\n" \ 4567 "$ ls -l /tmp/foo\n" \