mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-26 20:40:28 +00:00
Fix the behavior of redbean -i -e CODE
When redbean is functioning as a Lua interpreter, the `-e` flag should behave the same way as other open source language interpreters. Namely it should exit after evaluating the code rather than showing the REPL.
This commit is contained in:
parent
614229e3f4
commit
497d4fa6d1
2 changed files with 16 additions and 8 deletions
|
@ -46,8 +46,6 @@ FLAGS
|
|||
-b log message bodies
|
||||
-a log resource usage
|
||||
-g log handler latency
|
||||
-e eval Lua code in arg
|
||||
-F eval Lua code in file
|
||||
-E show crash reports to public ips
|
||||
-j enable ssl client verify
|
||||
-k disable ssl fetch verify
|
||||
|
@ -62,6 +60,8 @@ FLAGS
|
|||
-v increase verbosity [repeatable]
|
||||
-V increase ssl verbosity [repeatable]
|
||||
-S increase pledge sandboxing [repeatable]
|
||||
-e CODE eval Lua code in arg [repeatable]
|
||||
-F PATH eval Lua code in file [repeatable]
|
||||
-H K:V sets http header globally [repeatable]
|
||||
-D DIR overlay assets in local directory [repeatable]
|
||||
-r /X=/Y redirect X to Y [repeatable]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue