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

View File

@@ -40,6 +40,10 @@ if [ $# -eq 0 ]; then
jls -N jls -N
fi fi
if [ "$1" == "-j" ]; then
jls -N --libxo json
fi
if [ $# -gt 0 ]; then if [ $# -gt 0 ]; then
# Handle special-case commands first. # Handle special-case commands first.
case "$1" in case "$1" in