Permalink
Browse files

update docs

  • Loading branch information...
splinter89 committed Jun 10, 2014
1 parent 2a456b2 commit a96476a4841e6fe96980a9f32d06ae17c60d657b
Showing with 11 additions and 8 deletions.
  1. +11 −8 docs/docbook5/en/source/appendixes/optionaltasks.xml
@@ -1004,16 +1004,19 @@
</tgroup>
</table>
<sect2>
- <title>Example</title>
- <programlisting language="xml">&lt;filesync sourcedir="/var/www/development/project1" destinationdir="/var/www/project1" />;
+ <title>Examples</title>
+ <programlisting language="xml">&lt;filesync sourcedir="/var/www/development/project1" destinationdir="/var/www/project1" />
+
+&lt;filesync sourcedir="host::module" destinationdir="/var/www/project1/" />
&lt;filesync
-sourcedir="/var/www/development/project1"
-destinationdir="user@server:/var/www/project1"
-dryrun="true"
-itemizechanges="true"
-verbose="true"
-checksum="true" />;</programlisting>
+ sourcedir="/var/www/development/project1"
+ destinationdir="user@server:/var/www/project1"
+ dryrun="true"
+ itemizechanges="true"
+ verbose="true"
+ checksum="true" /></programlisting>
+ <para>In the <literal>sourcedir</literal> and <literal>destinationdir</literal> properties user name for remote connections is optional.</para>
</sect2>
</sect1>
<sect1 role="taskdef" xml:id="FtpDeployTask">

0 comments on commit a96476a

Please sign in to comment.