diff options
author | steve <steve@FreeBSD.org> | 1996-12-14 06:13:51 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1996-12-14 06:13:51 +0000 |
commit | bf5151c8fc90a9910d62e58a4bbd1dcd8967e1a9 (patch) | |
tree | 78f307c8dee9cbe8a6bbe7544d46476bfbda41f6 /bin/rmdir/rmdir.1 | |
parent | 2aae101b543d6a80a1e8490fe4c9300ffafc1bc7 (diff) | |
download | FreeBSD-src-bf5151c8fc90a9910d62e58a4bbd1dcd8967e1a9.zip FreeBSD-src-bf5151c8fc90a9910d62e58a4bbd1dcd8967e1a9.tar.gz |
-Wall cleaning and implement -p commandline option.
-p mod obtained from: NetBSD
Diffstat (limited to 'bin/rmdir/rmdir.1')
-rw-r--r-- | bin/rmdir/rmdir.1 | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/bin/rmdir/rmdir.1 b/bin/rmdir/rmdir.1 index 30d0fa5..8ae09ec 100644 --- a/bin/rmdir/rmdir.1 +++ b/bin/rmdir/rmdir.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)rmdir.1 8.1 (Berkeley) 5/31/93 -.\" $Id: rmdir.1,v 1.2 1994/09/24 02:57:11 davidg Exp $ +.\" $Id: rmdir.1,v 1.3 1996/08/29 18:06:08 wosch Exp $ .\" .Dd May 31, 1993 .Dt RMDIR 1 @@ -43,7 +43,7 @@ .Nd remove directories .Sh SYNOPSIS .Nm rmdir -.\" .Op Fl p +.Op Fl p .Ar directory ... .Sh DESCRIPTION The rmdir utility removes the directory entry specified by @@ -58,24 +58,24 @@ must be specified first so the parent directory is empty when .Nm rmdir tries to remove it. -.\" .Pp -.\" The following option is available: -.\" .Bl -tag -width Ds -.\" .It Fl p -.\" Each -.\" .Ar directory -.\" argument is treated as a pathname of which all -.\" components will be removed, if they are empty, -.\" starting with the last most component. -.\" (See -.\" .Xr rm 1 -.\" for fully non-discriminant recursive removal). -.\" .El +.Pp +The following option is available: +.Bl -tag -width Ds +.It Fl p +Each +.Ar directory +argument is treated as a pathname of which all +components will be removed, if they are empty, +starting with the last most component. +(See +.Xr rm 1 +for fully non-discriminant recursive removal.) +.El .Pp The .Nm rmdir utility exits with one of the following values: -.Bl -tag -width flag +.Bl -tag -width Ds .It Li \&0 Each directory entry specified by a dir operand referred to an empty directory and was removed |