wok rev 5918

busybox: update touch usage
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 28 11:56:35 2010 +0200 (2010-07-28)
parents b5f4ef5d86ec
children 6d2c8f94204d
files busybox-pam/receipt busybox-static/receipt busybox/receipt busybox/stuff/busybox-1.17.1-usage.u
line diff
     1.1 --- a/busybox-pam/receipt	Wed Jul 28 11:45:40 2010 +0200
     1.2 +++ b/busybox-pam/receipt	Wed Jul 28 11:56:35 2010 +0200
     1.3 @@ -30,6 +30,7 @@
     1.4  ris.u
     1.5  depmod.u
     1.6  zmodules.u
     1.7 +usage.u
     1.8  EOT
     1.9      cp $WOK/$SOURCE/stuff/$SOURCE-$VERSION.config .config
    1.10      sed -i 's/# CONFIG_PAM is not set/CONFIG_PAM=y/' .config
     2.1 --- a/busybox-static/receipt	Wed Jul 28 11:45:40 2010 +0200
     2.2 +++ b/busybox-static/receipt	Wed Jul 28 11:56:35 2010 +0200
     2.3 @@ -29,6 +29,7 @@
     2.4  ris.u
     2.5  depmod.u
     2.6  zmodules.u
     2.7 +usage.u
     2.8  EOT
     2.9      cp ../stuff/$SOURCE-$VERSION.config .config
    2.10      make oldconfig
     3.1 --- a/busybox/receipt	Wed Jul 28 11:45:40 2010 +0200
     3.2 +++ b/busybox/receipt	Wed Jul 28 11:56:35 2010 +0200
     3.3 @@ -28,6 +28,7 @@
     3.4  ris.u
     3.5  depmod.u
     3.6  zmodules.u
     3.7 +usage.u
     3.8  EOT
     3.9      cp ../stuff/$PACKAGE-$VERSION.config .config
    3.10      make oldconfig
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/busybox/stuff/busybox-1.17.1-usage.u	Wed Jul 28 11:56:35 2010 +0200
     4.3 @@ -0,0 +1,18 @@
     4.4 +Update usage text
     4.5 +--- busybox-1.17.1/include/usage.h
     4.6 ++++ busybox-1.17.1/include/usage.h
     4.7 +@@ -4897,12 +4897,13 @@
     4.8 + //TODO: add options and keyboard commands
     4.9 + 
    4.10 + #define touch_trivial_usage \
    4.11 +-       "[-c] [-d DATE] FILE [FILE]..."
    4.12 ++       "[-c] [-d DATE] [-r FILE] FILE [FILE]..."
    4.13 + #define touch_full_usage "\n\n" \
    4.14 +        "Update the last-modified date on the given FILE[s]\n" \
    4.15 +      "\nOptions:" \
    4.16 +      "\n	-c	Don't create files" \
    4.17 +      "\n	-d DT	Date/time to use" \
    4.18 ++     "\n	-r FILE File's times to use" \
    4.19 + 
    4.20 + #define touch_example_usage \
    4.21 +        "$ ls -l /tmp/foo\n" \