]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(rm invocation): Don't mention --directory (-d).
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Nov 2005 21:51:35 +0000 (21:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Nov 2005 21:51:35 +0000 (21:51 +0000)
doc/coreutils.texi

index 1075d96185280148e669a281a2867ec25a0e5c9b..1015f9b8f15d91cf0e6b8a6a917ca8d5dad0aeb0 100644 (file)
@@ -7283,23 +7283,6 @@ The program accepts the following options.  Also see @ref{Common options}.
 
 @table @samp
 
-@item -d
-@itemx --directory
-@opindex -d
-@opindex --directory
-@cindex directories, removing with @code{unlink}
-@findex unlink
-@pindex fsck
-Use the @code{unlink} function unconditionally rather than attempting
-to check whether the file is a directory and using @code{rmdir} if it
-is a directory.  This can be useful on corrupted file systems where
-@code{unlink} works even though other, file-checking functions fail.
-For directories, this works
-only if you have appropriate privileges and if your operating system supports
-@code{unlink} for directories.  Because unlinking a directory causes any files
-in the deleted directory to become unreferenced, it is wise to @command{fsck}
-the file system afterwards.
-
 @item -f
 @itemx --force
 @opindex -f