diff options
| author | Mike Pall <mike> | 2011-06-23 19:09:56 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2011-06-23 19:09:56 +0200 |
| commit | f50c962e9428b88366e618cbcf329659fd908c6a (patch) | |
| tree | 5b171591d1238226a965cfdfcc6f7a2576cf9023 | |
| parent | 9b0c641ac18b560c45173c741c0880fd21fbba60 (diff) | |
| download | luajit-f50c962e9428b88366e618cbcf329659fd908c6a.tar.gz luajit-f50c962e9428b88366e618cbcf329659fd908c6a.tar.bz2 luajit-f50c962e9428b88366e618cbcf329659fd908c6a.zip | |
Fix documentation for -b command line option.
| -rw-r--r-- | doc/running.html | 12 |
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: | |||
| 125 | Typical usage examples: | 125 | Typical usage examples: |
| 126 | </p> | 126 | </p> |
| 127 | <pre class="code"> | 127 | <pre class="code"> |
| 128 | luajit -b test.lua test.out # Save to test.out | 128 | luajit -b test.lua test.out # Save to test.out |
| 129 | luajit -bg test.lua test.out # Keep debug info | 129 | luajit -bg test.lua test.out # Keep debug info |
| 130 | luajit -be "print('hello world') end" test.out # Save cmdline script | 130 | luajit -be "print('hello world')" test.out # Save cmdline script |
| 131 | 131 | ||
| 132 | luajit -bl test.lua # List to stdout | 132 | luajit -bl test.lua # List to stdout |
| 133 | luajit -bl test.lua test.txt # List to test.txt | 133 | luajit -bl test.lua test.txt # List to test.txt |
| 134 | luajit -ble "print('hello world') end" # List cmdline script | 134 | luajit -ble "print('hello world')" # List cmdline script |
| 135 | </pre> | 135 | </pre> |
| 136 | <p> | 136 | <p> |
| 137 | Note: A file in bytecode format is auto-detected and can be loaded like | 137 | Note: A file in bytecode format is auto-detected and can be loaded like |
