add json output for jail list

This commit is contained in:
Brian Downs
2019-12-15 21:16:57 -07:00
parent d95d815949
commit ffe6efd0e5
+4
View File
@@ -40,6 +40,10 @@ if [ $# -eq 0 ]; then
jls -N
fi
if [ "$1" == "-j" ]; then
jls -N --libxo json
fi
if [ $# -gt 0 ]; then
# Handle special-case commands first.
case "$1" in