bug#28763: docbug (stat -t): missing field names in docs(manpage) for 's
From:
Pádraig Brady
Subject:
bug#28763: docbug (stat -t): missing field names in docs(manpage) for 'stat -t'
Date:
Wed, 11 Oct 2017 20:27:32 -0700
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
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