From 8ae467cdd0d90bed82ee7561e9be5bfbbc9952e1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 31 Oct 2007 01:13:36 -0500 Subject: Patch from Charlie Shepherd: Implement touch, set the default in Config.in to y, and remove the length argument (and all talk of changing the length of files). --- toys/Config.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'toys/Config.in') diff --git a/toys/Config.in b/toys/Config.in index e0454229..fbc633fe 100644 --- a/toys/Config.in +++ b/toys/Config.in @@ -248,17 +248,17 @@ config SYNC config TOUCH bool "touch" - default n + default y help usage: touch [-acmrt] FILE... - Change file timestamps/length. Create empty or sparse files. + Change file timestamps and ensure file existance. - -a - -c - -m - -r - -t + -a Only change the access time. + -c Do not create the file if it doesn't exist. + -m Only change the modification time. + -r Reference file to take timestamps from. + -t Time to change {a,m}time to, in the format MMDDhhmm. config TOYSH bool "sh (toysh)" -- cgit v1.2.3