coreutils: rmdir invocation

1 
1 12.7 ‘rmdir’: Remove empty directories
1 ======================================
1 
1 ‘rmdir’ removes empty directories.  Synopsis:
1 
1      rmdir [OPTION]... DIRECTORY...
1 
1    If any DIRECTORY argument does not refer to an existing empty
1 directory, it is an error.
1 
11    The program accepts the following options.  Also see ⇒Common
 options.
1 
1 ‘--ignore-fail-on-non-empty’
1      Ignore each failure to remove a directory that is solely because
1      the directory is non-empty.
1 
1 ‘-p’
1 ‘--parents’
1      Remove DIRECTORY, then try to remove each component of DIRECTORY.
1      So, for example, ‘rmdir -p a/b/c’ is similar to ‘rmdir a/b/c a/b
1      a’.  As such, it fails if any of those directories turns out not to
1      be empty.  Use the ‘--ignore-fail-on-non-empty’ option to make it
1      so such a failure does not evoke a diagnostic and does not cause
1      ‘rmdir’ to exit unsuccessfully.
1 
1 ‘-v’
1 ‘--verbose’
1      Give a diagnostic for each successful removal.  DIRECTORY is
1      removed.
1 
1    ⇒rm invocation, for how to remove non-empty directories
1 (recursively).
1 
1    An exit status of zero indicates success, and a nonzero value
1 indicates failure.
1