diff options
author | Kim Alvefur <zash@zash.se> | 2022-02-17 01:39:35 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2022-02-17 01:39:35 +0100 |
commit | ebcb37baa44d8fb6df8748acd5874e011c3310b3 (patch) | |
tree | 0fbde2cedcec5e5a59660caa8a1cd8457e61e9d6 /prosodyctl | |
parent | 89c2a5ac30f37c932f2f9d1d8a268ee781a91f20 (diff) | |
download | prosody-ebcb37baa44d8fb6df8748acd5874e011c3310b3.tar.gz prosody-ebcb37baa44d8fb6df8748acd5874e011c3310b3.zip |
prosodyctl: Restore 'list --outdated'
Parsing --flags puts it into 'opts', so --outdated wasn't passed to
luarocks, breaking that functionality
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -115,6 +115,10 @@ function commands.list(arg) show_usage([[list]], [[Shows installed rocks]]); return 0; end + if opts.outdated then + -- put this back for luarocks + arg[1] = "--outdated"; + end local ret = call_luarocks("list", arg[1]); return ret; end |