diff options
author | Jim Meyering <jim@meyering.net> | 2001-11-23 15:41:16 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2001-11-23 15:41:16 +0000 |
commit | a5f1ced62a3a3288f72d4f494e61122e7d407498 (patch) | |
tree | 86aa6bbd3b956c22f07bc460d1929dedb4a5daa1 /src/touch.c | |
parent | 2e55f173989ab21bb87fd3c2c6bd12305469e179 (diff) | |
download | coreutils-a5f1ced62a3a3288f72d4f494e61122e7d407498.tar.xz |
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/touch.c')
-rw-r--r-- | src/touch.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/touch.c b/src/touch.c index e3871c6e2..8db0df7f3 100644 --- a/src/touch.c +++ b/src/touch.c @@ -228,7 +228,7 @@ usage (int status) printf (_("Usage: %s [OPTION]... FILE...\n"), program_name); printf (_(" or: %s [-acm] MMDDhhmm[YY] FILE... (obsolescent)\n"), program_name); - printf (_("\ + fputs (_("\ Update the access and modification times of each FILE to the current time.\n\ \n\ -a change only the access time\n\ @@ -236,16 +236,22 @@ Update the access and modification times of each FILE to the current time.\n\ -d, --date=STRING parse STRING and use it instead of current time\n\ -f (ignored)\n\ -m change only the modification time\n\ +"), stdout); + fputs (_("\ -r, --reference=FILE use this file's times instead of current time\n\ -t STAMP use [[CC]YY]MMDDhhmm[.ss] instead of current time\n\ --time=WORD set time given by WORD: access atime use (same as -a)\n\ modify mtime (same as -m)\n\ +"), stdout); + fputs (_("\ --help display this help and exit\n\ --version output version information and exit\n\ +"), stdout); + fputs (_("\ \n\ Note that the three time-date formats recognized for the -d and -t options\n\ and for the obsolescent argument are all different.\n\ -")); +"), stdout); puts (_("\nReport bugs to <bug-fileutils@gnu.org>.")); } exit (status); |