diff docs/manual.docbook.sgml @ 231:2cc599f1bebf

Added --define to lwasm documentation. Added documentation of the -D/--define command line option for lwasm. It has been present for a long time but has somehow escaped documentation.
author William Astle <lost@l-w.ca>
date Sun, 15 Jul 2012 23:12:09 -0600
parents 5d969517db74
children 7da0452512b2
line wrap: on
line diff
--- a/docs/manual.docbook.sgml	Sun Jul 15 21:52:24 2012 -0600
+++ b/docs/manual.docbook.sgml	Sun Jul 15 23:12:09 2012 -0600
@@ -324,6 +324,21 @@
 </varlistentry>
 
 <varlistentry>
+<term><option>--define=SYM[=VAL]</option></term>
+<term><option>-I SYM[=VAL]</option></term>
+<listitem>
+<para>
+Pre-defines the symbol SYM as either the specified VAL. If VAL is omitted,
+the symbol is defined as 1.  The symbol will be defined as though it were
+defined using the SET directive in the assembly source.  That means it can
+be overridden by a SET directive within the source code.  Attempting to
+redefine SYM using EQU will result in a multiply defined symbol error.
+</para>
+</listitem>
+</varlistentry>
+
+
+<varlistentry>
 <term><option>--help</option></term>
 <term><option>-?</option></term>
 <listitem>