]> git.ipfire.org Git - thirdparty/LuaJIT.git/commitdiff
Fix documentation for -b command line option.
authorMike Pall <mike>
Thu, 23 Jun 2011 17:09:56 +0000 (19:09 +0200)
committerMike Pall <mike>
Thu, 23 Jun 2011 17:09:56 +0000 (19:09 +0200)
doc/running.html

index 85892cf5b519dbde0412088a4fca061aa34c39d1..cf1bdc45172469560a1bd68a856a0c21fb78f448 100644 (file)
@@ -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