GNU bug report logs - #28763
docbug (stat -t): missing field names in docs(manpage) for 'stat -t'

Previous Next

Package: coreutils;

Reported by: L A Walsh <coreutils <at> tlinx.org>

Date: Mon, 9 Oct 2017 19:01:02 UTC

Severity: normal

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, Assaf Gordon <assafgordon <at> gmail.com>, L A Walsh <coreutils <at> tlinx.org>, 28763 <at> debbugs.gnu.org
Subject: bug#28763: docbug (stat -t): missing field names in docs(manpage) for 'stat -t'
Date: Wed, 11 Oct 2017 20:27:32 -0700
On 11/10/17 13:39, Bernhard Voelker wrote:
> +
> +      printf (_("\n\
> +--terse without SELinux is equivalent to the following FORMAT:\n\
> +    %s\
> +--terse with SELinux enabled is equivalent to the following FORMAT:\n\
> +    %s\
> +"), fmt_terse_regular, fmt_terse_selinux);
> +        printf (_("\
> +--terse --file-system is equivalent to the following FORMAT:\n\
> +    %s\
> +"), fmt_terse_fs);
> +

That's an improvement thanks.
I'd be a bit happier if it was more terse (pardon the pun).
Could this bit instead be:


      printf (_("\n\
--terse is equivalent to the following FORMAT:\n\
    %s"),
#if HAVE_SELINUX_SELINUX_H
fmt_terse_selinux
#else
fmt_terse_regular
#endif
);

I used the define rather than is_selinux_enabled()
to give less variability in the man pages and
to indicate in --help that selinux is significant.

cheers,
Pádraig




This bug report was last modified 7 years and 296 days ago.

Previous Next


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