diff mbox series

[v2] setfiles.8: -q is deprecated and has no effect

Message ID 20220405071735.251995-1-plautrba@redhat.com (mailing list archive)
State Accepted
Commit 5d8764dbf5af
Headers show
Series [v2] setfiles.8: -q is deprecated and has no effect | expand

Commit Message

Petr Lautrbach April 5, 2022, 7:17 a.m. UTC
Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
---
 policycoreutils/setfiles/setfiles.8 | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comments

James Carter April 6, 2022, 8:06 p.m. UTC | #1
On Tue, Apr 5, 2022 at 3:38 AM Petr Lautrbach <plautrba@redhat.com> wrote:
>
> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
> ---
>  policycoreutils/setfiles/setfiles.8 | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git a/policycoreutils/setfiles/setfiles.8 b/policycoreutils/setfiles/setfiles.8
> index 15f939d1bee0..5267064de3b5 100644
> --- a/policycoreutils/setfiles/setfiles.8
> +++ b/policycoreutils/setfiles/setfiles.8
> @@ -124,7 +124,9 @@ and
>  options are mutually exclusive.
>  .TP
>  .B \-q
> -Deprecated, was only used to stop printing inode association parameters.
> +Deprecated and replaced by
> +.B \-v
> +. Has no effect on other options or on program behavior.

The "." at the beginning causes that line to not appear.

I am no man page expert, but this seems to work.

.B \-q
Deprecated and replaced by \fB\-v\fR. Has no effect on other options
or on program
behavior.

Thanks,
Jim

>  .TP
>  .BI \-r \ rootpath
>  use an alternate root path. Used in meta-selinux for OpenEmbedded/Yocto builds
> --
> 2.35.1
>
Petr Lautrbach April 7, 2022, 6:45 a.m. UTC | #2
James Carter <jwcart2@gmail.com> writes:

> On Tue, Apr 5, 2022 at 3:38 AM Petr Lautrbach <plautrba@redhat.com> wrote:
>>
>> Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
>> ---
>>  policycoreutils/setfiles/setfiles.8 | 4 +++-
>>  1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/policycoreutils/setfiles/setfiles.8 b/policycoreutils/setfiles/setfiles.8
>> index 15f939d1bee0..5267064de3b5 100644
>> --- a/policycoreutils/setfiles/setfiles.8
>> +++ b/policycoreutils/setfiles/setfiles.8
>> @@ -124,7 +124,9 @@ and
>>  options are mutually exclusive.
>>  .TP
>>  .B \-q
>> -Deprecated, was only used to stop printing inode association parameters.
>> +Deprecated and replaced by
>> +.B \-v
>> +. Has no effect on other options or on program behavior.
>
> The "." at the beginning causes that line to not appear.
>
> I am no man page expert, but this seems to work.
>
> .B \-q
> Deprecated and replaced by \fB\-v\fR. Has no effect on other options
> or on program
> behavior.
>

I'm sorry for that. I really thought I opened the page and checked it
works. Apparently I didn't :(


> Thanks,
> Jim
>
>>  .TP
>>  .BI \-r \ rootpath
>>  use an alternate root path. Used in meta-selinux for OpenEmbedded/Yocto builds
>> --
>> 2.35.1
>>
diff mbox series

Patch

diff --git a/policycoreutils/setfiles/setfiles.8 b/policycoreutils/setfiles/setfiles.8
index 15f939d1bee0..5267064de3b5 100644
--- a/policycoreutils/setfiles/setfiles.8
+++ b/policycoreutils/setfiles/setfiles.8
@@ -124,7 +124,9 @@  and
 options are mutually exclusive.
 .TP 
 .B \-q
-Deprecated, was only used to stop printing inode association parameters.
+Deprecated and replaced by
+.B \-v
+. Has no effect on other options or on program behavior.
 .TP 
 .BI \-r \ rootpath
 use an alternate root path. Used in meta-selinux for OpenEmbedded/Yocto builds