diff options
author | mpp <mpp@FreeBSD.org> | 1997-04-08 20:27:48 +0000 |
---|---|---|
committer | mpp <mpp@FreeBSD.org> | 1997-04-08 20:27:48 +0000 |
commit | dd5458250f6fb820e51988382c49f48a7eb39828 (patch) | |
tree | 225b8969c2a4c1ea5aa6197efee29ed1be3cf94e /bin | |
parent | cda9b3f2fad860a496ae5d2f1e01321b5fafa915 (diff) | |
download | FreeBSD-src-dd5458250f6fb820e51988382c49f48a7eb39828.zip FreeBSD-src-dd5458250f6fb820e51988382c49f48a7eb39828.tar.gz |
Improve the wording in the NOTES section. Closes PR# 3223.
Diffstat (limited to 'bin')
-rw-r--r-- | bin/rm/rm.1 | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1 index 2f1c2f1..6a0eede 100644 --- a/bin/rm/rm.1 +++ b/bin/rm/rm.1 @@ -33,7 +33,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)rm.1 8.5 (Berkeley) 12/5/94 -.\" $Id$ +.\" $Id: rm.1,v 1.7 1997/02/22 14:05:26 peter Exp $ .\" .Dd December 5, 1994 .Dt RM 1 @@ -123,20 +123,19 @@ If an error occurs, .Nm rm exits with a value >0. .Sh NOTE -.Nm rm -use +The +.Nm +command uses .Xr getopt 3 -parsing routine. Getopt accept a +to parse its arguments, which allows it to accept +the .Sq Li -- -argument, which stop reading options, anything after this -is not an option. -So -.Nm rm -handle files whose names begins with a -.Sq Li - . -Example: - -``$ rm -- -filename''. +option which will cause it to stop processing flag options at that +point. This will allow the removal of file names that begin +with a dash +.Pq Sq - . +For example: +.Dl rm -- -filename .Sh SEE ALSO .Xr rmdir 1 , .Xr undelete 2 , |