readme update

This commit is contained in:
Brian Downs
2019-12-15 21:20:34 -07:00
parent ffe6efd0e5
commit 71873e9389
2 changed files with 3 additions and 2 deletions

View File

@@ -364,7 +364,7 @@ ishmael ~ # bastille list
You can also list non-running containers with `bastille list containers`. In
the same manner you can list archived `logs`, downloaded `templates`, and
`releases`.
`releases`. Providing the `-j` flag to list alone will result in JSON output.
bastille service

View File

@@ -32,7 +32,7 @@
. /usr/local/etc/bastille/bastille.conf
usage() {
echo -e "${COLOR_RED}Usage: bastille list [release|template|(jail|container)|log].${COLOR_RESET}"
echo -e "${COLOR_RED}Usage: bastille list [-j] [release|template|(jail|container)|log].${COLOR_RESET}"
exit 1
}
@@ -42,6 +42,7 @@ fi
if [ "$1" == "-j" ]; then
jls -N --libxo json
exit 0
fi
if [ $# -gt 0 ]; then