diff options
| author | Pádraig Brady <P@draigBrady.com> | 2023-12-06 13:03:48 +0000 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2023-12-06 13:07:43 +0000 |
| commit | 0ee8b03422b134859ceedc5f52cc8bbcf1031f74 (patch) | |
| tree | f5bba313752d068864e661bec3ee02b3d4ebc9a8 | |
| parent | tail: fix tailing sysfs files where PAGE_SIZE > BUFSIZ (diff) | |
| download | coreutils-0ee8b03422b134859ceedc5f52cc8bbcf1031f74.tar.gz coreutils-0ee8b03422b134859ceedc5f52cc8bbcf1031f74.zip | |
doc: touch: clarify --time description in man page
* src/touch.c (usage): Reorganise the description to be similar to
the format used for the ls --time description, which formats better
when converted to a man page. Also separate the description
to allow for more granular translations.
Fixes https://bugs.gnu.org/67656
| -rw-r--r-- | src/touch.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/touch.c b/src/touch.c index ee1977fb2..8ce185768 100644 --- a/src/touch.c +++ b/src/touch.c @@ -240,9 +240,11 @@ change the times of the file associated with standard output.\n\ 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 change the specified time:\n\ - WORD is access, atime, or use: equivalent to -a\n\ - WORD is modify or mtime: equivalent to -m\n\ +"), stdout); + fputs (_("\ + --time=WORD specify which time to change:\n\ + access time (-a): 'access', 'atime', 'use';\n\ + modification time (-m): 'modify', 'mtime'\n\ "), stdout); fputs (HELP_OPTION_DESCRIPTION, stdout); fputs (VERSION_OPTION_DESCRIPTION, stdout); |
