touch: update help text

Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Pascal Bellard 2010-10-18 00:43:07 +02:00 committed by Denys Vlasenko
parent b8d02597e3
commit 122a4b30f4

View File

@ -4116,12 +4116,13 @@ INSERT
//TODO: add options and keyboard commands
#define touch_trivial_usage \
"[-c] [-d DATE] FILE [FILE]..."
"[-c] [-d DATE] [-r FILE] FILE [FILE]..."
#define touch_full_usage "\n\n" \
"Update the last-modified date on the given FILE[s]\n" \
"\nOptions:" \
"\n -c Don't create files" \
"\n -d DT Date/time to use" \
"\n -r FILE Use FILE's date/time" \
#define touch_example_usage \
"$ ls -l /tmp/foo\n" \