aboutsummaryrefslogtreecommitdiff
path: root/toys/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2007-10-31 01:13:36 -0500
committerRob Landley <rob@landley.net>2007-10-31 01:13:36 -0500
commit8ae467cdd0d90bed82ee7561e9be5bfbbc9952e1 (patch)
treee404fe0cb7727d2487df95f2b888388ae768046a /toys/Config.in
parent503d0f5b52fe2eafd6523ce785d6c9f73b46329b (diff)
downloadtoybox-8ae467cdd0d90bed82ee7561e9be5bfbbc9952e1.tar.gz
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).
Diffstat (limited to 'toys/Config.in')
-rw-r--r--toys/Config.in14
1 files changed, 7 insertions, 7 deletions
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)"