aboutsummaryrefslogtreecommitdiff
path: root/coreutils/touch.c
diff options
context:
space:
mode:
authorandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-10 23:13:02 +0000
committerandersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277>1999-11-10 23:13:02 +0000
commitfe675f24f8afae61702b3e2aee9af34dd84a4d5b (patch)
tree3e448e6550da52d2709e5f52fbae56e9df9462cc /coreutils/touch.c
parent51abdb45dd5418cdf8355e5c314307771f9b8c37 (diff)
downloadbusybox-w32-fe675f24f8afae61702b3e2aee9af34dd84a4d5b.tar.gz
busybox-w32-fe675f24f8afae61702b3e2aee9af34dd84a4d5b.tar.bz2
busybox-w32-fe675f24f8afae61702b3e2aee9af34dd84a4d5b.zip
Updates to usage, and made tar work.
-Erik git-svn-id: svn://busybox.net/trunk/busybox@94 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'coreutils/touch.c')
-rw-r--r--coreutils/touch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/touch.c b/coreutils/touch.c
index b98a2e4c8..d2d3e9484 100644
--- a/coreutils/touch.c
+++ b/coreutils/touch.c
@@ -31,7 +31,7 @@
31 31
32 32
33static const char touch_usage[] = "touch [-c] file [file ...]\n\n" 33static const char touch_usage[] = "touch [-c] file [file ...]\n\n"
34"\tUpdate the last-modified date on the given file[s].\n"; 34"Update the last-modified date on the given file[s].\n";
35 35
36 36
37 37
@@ -54,7 +54,7 @@ touch_main(int argc, char **argv)
54 create = FALSE; 54 create = FALSE;
55 break; 55 break;
56 default: 56 default:
57 fprintf(stderr, "Unknown option: %c\n", **argv); 57 usage( touch_usage);
58 exit( FALSE); 58 exit( FALSE);
59 } 59 }
60 argc--; 60 argc--;