Output more information for step status
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user