summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLauri Aarnio <Lauri.Aarnio@iki.fi>2008-10-08 17:38:37 +0300
committerLauri Leukkunen <lle@rahina.org>2008-10-18 15:18:14 +0300
commit84fec609a79f33e73cd9d6e521cb77c615eea1a6 (patch)
tree7436893dd7f4e2524483efc14a4c89f859e7131e /docs
parent611a56606be2b834a6b05aa931110f93f578f91c (diff)
sb2-show can be used to manually execute lua scripts in the sb2 context - added flags & command to sb2-show so that Lua scripts for testing, debugging and benchmarking can be easily executed in the lua context which is created by the preload library.
Diffstat (limited to 'docs')
-rw-r--r--docs/sb2-show.114
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/sb2-show.1 b/docs/sb2-show.1
index efb6870..cddc5ce 100644
--- a/docs/sb2-show.1
+++ b/docs/sb2-show.1
@@ -28,6 +28,17 @@ This option can be used when you are debugging mapping rules in sb2. The functio
.TP
\-D
Ignore directories while verifying path lists
+.TP
+\-t
+report elapsed time (real time elapsed while executing the command)
+.TP
+\-x file
+Load and execute Lua code from file before executing the command.
+Useful for debugging and tuning lua scripts of sb2.
+.TP
+\-X file
+Load and execute Lua code from file after executing the command.
+Useful for debugging and tuning lua scripts of sb2.
.SH COMMAND TAGS
.TP
@@ -45,6 +56,9 @@ Add a warning message to the logfile
.TP
verify-pathlist-mappings required-fix [ignorelist]
Read list of paths from stdina and check that all paths will be mapped to required 'prefix/n'
+.TP
+execluafile filename
+Load and execute Lua code from file.
.SH EXAMPLES