Fix documentation for -b command line option.
This commit is contained in:
@@ -127,11 +127,11 @@ Typical usage examples:
|
|||||||
<pre class="code">
|
<pre class="code">
|
||||||
luajit -b test.lua test.out # Save to test.out
|
luajit -b test.lua test.out # Save to test.out
|
||||||
luajit -bg test.lua test.out # Keep debug info
|
luajit -bg test.lua test.out # Keep debug info
|
||||||
luajit -be "print('hello world') end" test.out # Save cmdline script
|
luajit -be "print('hello world')" test.out # Save cmdline script
|
||||||
|
|
||||||
luajit -bl test.lua # List to stdout
|
luajit -bl test.lua # List to stdout
|
||||||
luajit -bl test.lua test.txt # List to test.txt
|
luajit -bl test.lua test.txt # List to test.txt
|
||||||
luajit -ble "print('hello world') end" # List cmdline script
|
luajit -ble "print('hello world')" # List cmdline script
|
||||||
</pre>
|
</pre>
|
||||||
<p>
|
<p>
|
||||||
Note: A file in bytecode format is auto-detected and can be loaded like
|
Note: A file in bytecode format is auto-detected and can be loaded like
|
||||||
|
|||||||
Reference in New Issue
Block a user