summaryrefslogtreecommitdiffstats
path: root/doc/user/parseflags.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/user/parseflags.xml')
-rw-r--r--doc/user/parseflags.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/user/parseflags.xml b/doc/user/parseflags.xml
index 09533d2..e5aadec 100644
--- a/doc/user/parseflags.xml
+++ b/doc/user/parseflags.xml
@@ -155,7 +155,7 @@
<programlisting>
env = Environment()
d = env.ParseFlags(["!echo -I/opt/include", "!echo -L/opt/lib", "-lfoo"])
- for k,v in l:
+ for k,v in sorted(d.items()):
if v:
print k, v
env.MergeFlags(d)