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

@@ -37,7 +37,11 @@ usage() {
}
if [ $# -eq 0 ]; then
jls -N
jls -N
fi
if [ "$1" == "-j" ]; then
jls -N --libxo json
fi
if [ $# -gt 0 ]; then