Browse Source

new: [compose-core] improve the help message of ``compose status`` command

Valentin Lab 3 weeks ago
parent
commit
66b1849cd5
  1. 35
      bin/compose-core

35
bin/compose-core

@ -5302,21 +5302,26 @@ These are the compose's columns: ${state_inner_cols[@]}.
Usage: status [options] [SERVICE...]
Options:
-h, --help Print this message and quit
-a, --all Display status of all services
(removes all filter, and will add a
'root' first column by default)
-c, --column Column to display, can provide several
separated by commas, or option can be repeated.
(default: ${state_columns_default_msg})
-f, --filter Filter services by a key=value pair,
separated by commas or can be repeated.
(default: --filter root=yes)
-r, --raw Raw data output (no colors nor alignement)
-0 Separate field with NUL char. Implies raw
data output.
-h, --help Print this message and quit
-a, --all Display status of all services (removes all
filter, and will add a 'root' first column by
default)
-c, --column Columns to display, can provide several separated
by commas, or option can be repeated. You can add
a sign prefix to the name of the column to force
the alignment of the column (+: right, -: left),
(default: ${state_columns_default_msg})
-f, --filter Filter services by a key=value pair,
separated by commas or can be repeated.
(default: --filter root=yes)
-r, --raw Raw data output (no colors nor alignment)
-0 Separate field with NUL char. Implies raw data
output.
"
while read-0 arg; do

Loading…
Cancel
Save