GNU bug report logs - #67656
'man touch' text about --time hard to read compared to 'touch --help'

Previous Next

Package: coreutils;

Reported by: Arsen Arsenović <arsen <at> aarsen.me>

Date: Wed, 6 Dec 2023 09:12:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 67656 in the body.
You can then email your comments to 67656 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#67656; Package coreutils. (Wed, 06 Dec 2023 09:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arsen Arsenović <arsen <at> aarsen.me>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Wed, 06 Dec 2023 09:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Arsen Arsenović <arsen <at> aarsen.me>
To: bug-coreutils <at> gnu.org
Subject: 'man touch' text about --time hard to read compared to 'touch --help'
Date: Wed, 06 Dec 2023 10:03:52 +0100
[Message part 1 (text/plain, inline)]
Hi,

In the manpage of touch, 'touch' flag --time is described as:

       --time=WORD
              change the specified time: WORD is access, atime, or use:
              equivalent to -a WORD is modify or mtime: equivalent to -m

... whereas, in the --help text, --time is described as:

    --time=WORD        change the specified time:
                         WORD is access, atime, or use: equivalent to -a
                         WORD is modify or mtime: equivalent to -m

The latter is far more readable, and the manpage appears to be
mis-formatted (perhaps by help2man?).

IMO, the help text should also say 'if WORD is ..., or ...: ...' to
provide further clarity in the text.

The formatting issue is more pressing, however, as it makes the manpage
highly confusing compared to the help or manual texts.

Could this be corrected?

Thanks, have a lovely day!
-- 
Arsen Arsenović
[signature.asc (application/pgp-signature, inline)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Wed, 06 Dec 2023 13:12:02 GMT) Full text and rfc822 format available.

Notification sent to Arsen Arsenović <arsen <at> aarsen.me>:
bug acknowledged by developer. (Wed, 06 Dec 2023 13:12:02 GMT) Full text and rfc822 format available.

Message #10 received at 67656-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Arsen Arsenović <arsen <at> aarsen.me>,
 67656-done <at> debbugs.gnu.org
Subject: Re: bug#67656: 'man touch' text about --time hard to read compared to
 'touch --help'
Date: Wed, 6 Dec 2023 13:11:31 +0000
On 06/12/2023 09:03, Arsen Arsenović via GNU coreutils Bug Reports wrote:
> Hi,
> 
> In the manpage of touch, 'touch' flag --time is described as:
> 
>         --time=WORD
>                change the specified time: WORD is access, atime, or use:
>                equivalent to -a WORD is modify or mtime: equivalent to -m
> 
> ... whereas, in the --help text, --time is described as:
> 
>      --time=WORD        change the specified time:
>                           WORD is access, atime, or use: equivalent to -a
>                           WORD is modify or mtime: equivalent to -m
> 
> The latter is far more readable, and the manpage appears to be
> mis-formatted (perhaps by help2man?).
> 
> IMO, the help text should also say 'if WORD is ..., or ...: ...' to
> provide further clarity in the text.
> 
> The formatting issue is more pressing, however, as it makes the manpage
> highly confusing compared to the help or manual texts.
> 
> Could this be corrected?

I pushed the following:

      --time=WORD        specify which time to change:
                           access time (-a): 'access', 'atime', 'use';
                           modification time (-m): 'modify', 'mtime'

Marking this as done.

thanks,
Pádraig




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 04 Jan 2024 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.