Subject: Re: bug#28763: docbug (stat -t): missing field names in docs(manpage) for 'stat -t'

From: Pádraig Brady <[email-masked]>
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