update __directory documentation

Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
This commit is contained in:
Nico Schottelius 2011-03-21 09:44:14 +01:00
parent 1a4fd4854c
commit 3927da66b6

View file

@ -30,7 +30,7 @@ owner::
User to chown to.
parents::
Whether to create parents as well (mkdir -p behaviour)
Whether to create parents as well (mkdir -p behaviour). Must be yes or no.
EXAMPLES
@ -41,7 +41,10 @@ EXAMPLES
__directory /tmp/foobar
# Ensure /etc exists correctly
__file /etc --owner root --group root --mode 0755
__directory /etc --owner root --group root --mode 0755
# Create nfs service directory, including parents
__directory /home/services/nfs --parents yes
--------------------------------------------------------------------------------