aboutsummaryrefslogtreecommitdiffstats
path: root/util/bitcompat.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2021-03-05 13:02:37 +0100
committerKim Alvefur <zash@zash.se>2021-03-05 13:02:37 +0100
commitcd641dca64af1b47fb71235a4915ab7c91b4cf90 (patch)
treeb9f3b14a42be0f8ac70f532db4c6ec2cbfdcd0d2 /util/bitcompat.lua
parent71cb57df5191da7962185fba8c0dd5847dfd699c (diff)
downloadprosody-cd641dca64af1b47fb71235a4915ab7c91b4cf90.tar.gz
prosody-cd641dca64af1b47fb71235a4915ab7c91b4cf90.zip
util.prosodyctl.shell: Allow passing a single command as argument
Test procedure: $ prosodyctl shell 'server:version()' Expect: > OK: hg:926d53af9a7a $ prosodyctl shell 'server:version()' 'hello' Expect: > Only one command is supported as argument $ prosodyctl shell 'lorem ipsum'; echo $? Expect: > Sorry, I couldn't understand that... console:1: syntax error near 'show' > 1 (error code) Thanks Menel for mentioning the feature
Diffstat (limited to 'util/bitcompat.lua')
0 files changed, 0 insertions, 0 deletions