summaryrefslogtreecommitdiff
path: root/doc/running.html
diff options
context:
space:
mode:
authorMike Pall <mike>2011-06-23 19:09:56 +0200
committerMike Pall <mike>2011-06-23 19:09:56 +0200
commitf50c962e9428b88366e618cbcf329659fd908c6a (patch)
tree5b171591d1238226a965cfdfcc6f7a2576cf9023 /doc/running.html
parent9b0c641ac18b560c45173c741c0880fd21fbba60 (diff)
downloadluajit2-f50c962e9428b88366e618cbcf329659fd908c6a.tar.gz
Fix documentation for -b command line option.
Diffstat (limited to 'doc/running.html')
-rw-r--r--doc/running.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/running.html b/doc/running.html
index 85892cf5..cf1bdc45 100644
--- a/doc/running.html
+++ b/doc/running.html
@@ -125,13 +125,13 @@ are accepted:
Typical usage examples:
</p>
<pre class="code">
-luajit -b test.lua test.out # Save to test.out
-luajit -bg test.lua test.out # Keep debug info
-luajit -be "print('hello world') end" test.out # Save cmdline script
+luajit -b test.lua test.out # Save to test.out
+luajit -bg test.lua test.out # Keep debug info
+luajit -be "print('hello world')" test.out # Save cmdline script
-luajit -bl test.lua # List to stdout
-luajit -bl test.lua test.txt # List to test.txt
-luajit -ble "print('hello world') end" # List cmdline script
+luajit -bl test.lua # List to stdout
+luajit -bl test.lua test.txt # List to test.txt
+luajit -ble "print('hello world')" # List cmdline script
</pre>
<p>
Note: A file in bytecode format is auto-detected and can be loaded like