forked from lukego/snabb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
26 lines (23 loc) · 1.46 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Usage: snsh [OPTION]... [SCRIPT] [PARAMETER]...
Snabb Shell: Load the Snabb Switch core and execute Lua source code.
Execute SCRIPT if specified and then exit.
-i, --interactive Start an interactive Read-Eval-Print Loop.
-e EXPR, --eval EXPR Evaluate the Lua expression EXPR.
-l MODULE, --load MODULE Load (require) the Lua module MODULE.
-p PROG, --program PROG Run the program PROG instead of snsh.
-t MODULE, --test MODULE Test (selftest) the Lua module MODULE.
-d, --debug Enable additional debugging checks.
-j CMD, --jit CMD Control LuaJIT behavior. Available commands:
-jv=FILE, --jit v=FILE
Write verbose JIT trace output to FILE.
-jdump=OPTS[,FILE] --jit dump=OPTS[,FILE]
Output JIT traces, optionally to a file.
-jp=OPTS[,FILE] --jit p=OPTS[,FILE]
Profile execution with low-overhead sampling.
See luajit documentation for more information:
http://luajit.org/running.html
-P PATH, --package-path PATH
Use PATH as the Lua 'package.path'.
-q=repl, --sigquit=repl Enter the REPL on SIGQUIT (Control-\).
(Hook is only effective during engine.main().)
-h, --help Print this usage message.