add json output for jail list
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user