From 81b1fb1df781d26550850979d3f3a6246aa630ee Mon Sep 17 00:00:00 2001 From: apb Date: Tue, 17 Dec 2013 09:54:08 +0000 Subject: [PATCH] In all man pages that say: The -H, -L and -P options are ignored unless the -R option is specified. In addition, these options override each other and the command's actions are determined by the last one specified. Add: The default is as if the -P option had been specified. --- bin/chmod/chmod.1 | 5 ++++- bin/cp/cp.1 | 5 ++++- sbin/chown/chgrp.1 | 5 ++++- sbin/chown/chown.8 | 5 ++++- usr.bin/chflags/chflags.1 | 5 ++++- 5 files changed, 20 insertions(+), 5 deletions(-) diff --git a/bin/chmod/chmod.1 b/bin/chmod/chmod.1 index 83e4fe7fe948..637d1dd8cea7 100644 --- a/bin/chmod/chmod.1 +++ b/bin/chmod/chmod.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: chmod.1,v 1.24 2012/10/22 17:47:06 christos Exp $ +.\" $NetBSD: chmod.1,v 1.25 2013/12/17 09:54:08 apb Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -106,6 +106,9 @@ options are ignored unless the option is specified. In addition, these options override each other and the command's actions are determined by the last one specified. +The default is as if the +.Fl P +option had been specified. .Pp Only the owner of a file or the super-user is permitted to change the mode of a file. diff --git a/bin/cp/cp.1 b/bin/cp/cp.1 index f71e457bcc61..9a121d268025 100644 --- a/bin/cp/cp.1 +++ b/bin/cp/cp.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: cp.1,v 1.42 2012/03/25 22:37:08 wiz Exp $ +.\" $NetBSD: cp.1,v 1.43 2013/12/17 09:54:08 apb Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -213,6 +213,9 @@ options are ignored unless the option is specified. In addition, these options override each other and the command's actions are determined by the last one specified. +The default is as if the +.Fl P +option had been specified. .Sh EXIT STATUS .Ex -std cp .Sh COMPATIBILITY diff --git a/sbin/chown/chgrp.1 b/sbin/chown/chgrp.1 index c7b492d6a516..4a7f418f9e3a 100644 --- a/sbin/chown/chgrp.1 +++ b/sbin/chown/chgrp.1 @@ -29,7 +29,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)chgrp.1 8.3 (Berkeley) 3/31/94 -.\" $NetBSD: chgrp.1,v 1.5 2012/10/22 18:02:26 christos Exp $ +.\" $NetBSD: chgrp.1,v 1.6 2013/12/17 09:54:08 apb Exp $ .\" .Dd October 22, 2012 .Dt CHGRP 1 @@ -118,6 +118,9 @@ options are ignored unless the option is specified. In addition, these options override each other and the command's actions are determined by the last one specified. +The default is as if the +.Fl P +option had been specified. .Pp The .Ar group diff --git a/sbin/chown/chown.8 b/sbin/chown/chown.8 index eafec7d57b69..bd8209a035a5 100644 --- a/sbin/chown/chown.8 +++ b/sbin/chown/chown.8 @@ -26,7 +26,7 @@ .\" SUCH DAMAGE. .\" .\" from: @(#)chown.8 8.3 (Berkeley) 3/31/94 -.\" $NetBSD: chown.8,v 1.6 2012/10/23 17:30:59 wiz Exp $ +.\" $NetBSD: chown.8,v 1.7 2013/12/17 09:54:08 apb Exp $ .\" .Dd October 22, 2012 .Dt CHOWN 8 @@ -104,6 +104,9 @@ options are ignored unless the option is specified. In addition, these options override each other and the command's actions are determined by the last one specified. +The default is as if the +.Fl P +option had been specified. .Pp The .Fl L diff --git a/usr.bin/chflags/chflags.1 b/usr.bin/chflags/chflags.1 index 69239627be0f..c04b92a758aa 100644 --- a/usr.bin/chflags/chflags.1 +++ b/usr.bin/chflags/chflags.1 @@ -1,4 +1,4 @@ -.\" $NetBSD: chflags.1,v 1.23 2012/12/12 13:30:06 wiz Exp $ +.\" $NetBSD: chflags.1,v 1.24 2013/12/17 09:54:08 apb Exp $ .\" .\" Copyright (c) 1989, 1990, 1993, 1994 .\" The Regents of the University of California. All rights reserved. @@ -116,6 +116,9 @@ options are ignored unless the option is specified. In addition, these options override each other and the command's actions are determined by the last one specified. +The default is as if the +.Fl P +option had been specified. .Pp The .Fl o