From 2545767e1d8cd327978cd308c64a489081246068 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Mon, 12 May 2025 08:10:58 -0600 Subject: [PATCH] docs: Update list for --pretty --- docs/chapters/subcommands/list.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/chapters/subcommands/list.rst b/docs/chapters/subcommands/list.rst index d2669032..f6b29a95 100644 --- a/docs/chapters/subcommands/list.rst +++ b/docs/chapters/subcommands/list.rst @@ -6,7 +6,8 @@ managed by bastille. Using `bastille list` without args will print with all the info we feel is most important. -Most options can be printed in JSON format by including the `-j|--json` flag. +Most options can be printed in JSON format by including the ``-j|--json`` flag. Use ``-p|--pretty`` +to print in columns instead of rows. .. code-block:: shell @@ -15,5 +16,6 @@ Most options can be printed in JSON format by including the `-j|--json` flag. [path(s)] [port(s)] [prio|priority] [state(s)] [template(s)] Options: - -j | --json List jails or sub-arg(s) in json format. - -x | --debug Enable debug mode. + -j | --json List jails or sub-arg(s) in json format. + -p | --pretty List JSON in columns. + -x | --debug Enable debug mode.