touch: update help text
authorPascal Bellard <pascal.bellard@ads-lu.com>
Sun, 17 Oct 2010 22:43:07 +0000 (00:43 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 17 Oct 2010 22:43:07 +0000 (00:43 +0200)
Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/usage.src.h

index 048e3e08f67d917a3301a2fb74deb33a0d4e74c0..5d7767bb4df6f5c72c10d10273adf64288a85b36 100644 (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" \