Author: mbenson Date: Wed Mar 7 08:09:42 2007 New Revision: 515623 URL: http://svn.apache.org/viewvc?view=rev&rev=515623 Log: refine doc
Modified: ant/core/trunk/docs/manual/CoreTasks/truncate.html Modified: ant/core/trunk/docs/manual/CoreTasks/truncate.html URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/CoreTasks/truncate.html?view=diff&rev=515623&r1=515622&r2=515623 ============================================================================== --- ant/core/trunk/docs/manual/CoreTasks/truncate.html (original) +++ ant/core/trunk/docs/manual/CoreTasks/truncate.html Wed Mar 7 08:09:42 2007 @@ -49,24 +49,27 @@ </tr> <tr> <td valign="top">length</td> - <td valign="top">Specifies the new file length to set. The following - suffixes are supported: - <ul> - <li>K : Kilobytes (1024 bytes)</li> - <li>M : Megabytes (1024 K)</li> - <li>G : Gigabytes (1024 M)</li> - <li>T : Terabytes (1024 G)</li> - <li>P : Petabytes (1024 T)</li> - </ul> -</td> - <td valign="center" align="center" rowspan="2">One of these or neither. - Specifying neither is equivalent to length="0". + <td valign="top">Specifies the new file length (in bytes) to set. + The following suffixes are supported: + <ul> + <li>K : Kilobytes (1024 bytes)</li> + <li>M : Megabytes (1024 K)</li> + <li>G : Gigabytes (1024 M)</li> + <li>T : Terabytes (1024 G)</li> + <li>P : Petabytes (1024 T)</li> + </ul> + </td> + <td valign="center" align="center" rowspan="2">At most one of these. + Omitting both implies <code>length="0"</code>. </td> </tr> <tr> <td valign="top">adjust</td> - <td valign="top">Specifies the amount (and positive/negative direction) - by which to adjust file lengths.</td> + <td valign="top">Specifies the number of bytes + (and positive/negative direction) + by which to adjust file lengths. The same suffixes are supported + for this attribute as for the <code>length</code> attribute. + </td> </tr> <tr> <td valign="top">create</td> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]