← Commit list

122a4b30f

Pascal Bellard
Pascal Bellard
2010-10-18
FAILED Duration: 324s

Subject

touch: update help text

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

include/usage.src.h+2 -1
@@ -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" \