Output more information for step status

This commit is contained in:
2021-04-08 15:20:20 +02:00
parent 64abe2f28f
commit c1eb864fb9

View File

@@ -176,7 +176,18 @@ step_7() {
unsetPassphrase
}
step_20_info() { echo "Status of [TARGET]"; }
step_20_info() {
shift
local ebuTarget=$EBU_TARGET
[ ! -z "$1" ] && ebuTarget="$1"
if [ $CONTEXT_HELP -ne 0 ]; then
echo "Status of (profile) [TARGET]"
elif [ ! -z "$1" ]; then
echo "Status of target: $ebuTarget"
else
echo "Status of profile \"$SEQ_PROFILE_NAME\" target: $ebuTarget"
fi
}
step_20_alias() { ALIAS='status'; }
step_20() {
shift