summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2009-09-26 01:06:18 +0400
committerCyrill Gorcunov <gorcunov@gmail.com>2009-09-26 01:06:18 +0400
commit946debb62758dee3ee37a2699db71d0698b93bba (patch)
tree5b61c4fcefb0083a894c84983a00e3a80c3086b5 /doc
parentac9aaeeff0745290846deb2f3d3b7b1628b68c0d (diff)
downloadnasm-946debb62758dee3ee37a2699db71d0698b93bba.tar.gz
nasm-946debb62758dee3ee37a2699db71d0698b93bba.tar.bz2
nasm-946debb62758dee3ee37a2699db71d0698b93bba.zip
doc/nasmdoc.src: NASMENV -- fixup backslashes
−i option (include file search directories) should contain trailing slash. Reported-by: Frank Kotler <fbkotler@zytor.com> Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/nasmdoc.src6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/nasmdoc.src b/doc/nasmdoc.src
index 2d50afa..ff5788d 100644
--- a/doc/nasmdoc.src
+++ b/doc/nasmdoc.src
@@ -1005,7 +1005,7 @@ standard search directories for include files, by putting \c{-i}
options in the \c{NASMENV} variable.
The value of the variable is split up at white space, so that the
-value \c{-s -ic:\\nasmlib} will be treated as two separate options.
+value \c{-s -ic:\\nasmlib\\} will be treated as two separate options.
However, that means that the value \c{-dNAME="my name"} won't do
what you might want, because it will be split at the space and the
NASM command-line processing will get confused by the two
@@ -1015,8 +1015,8 @@ To get round this, NASM provides a feature whereby, if you begin the
\c{NASMENV} environment variable with some character that isn't a minus
sign, then NASM will treat this character as the \i{separator
character} for options. So setting the \c{NASMENV} variable to the
-value \c{!-s!-ic:\\nasmlib} is equivalent to setting it to \c{-s
--ic:\\nasmlib}, but \c{!-dNAME="my name"} will work.
+value \c{!-s!-ic:\\nasmlib\\} is equivalent to setting it to \c{-s
+-ic:\\nasmlib\\}, but \c{!-dNAME="my name"} will work.
This environment variable was previously called \c{NASM}. This was
changed with version 0.98.31.