From a4fbf9c68507eee36d9a02e1848c6cb91ac555d6 Mon Sep 17 00:00:00 2001 From: Samiya Akhtar Date: Wed, 25 Mar 2020 13:07:46 -0700 Subject: [PATCH] Change output shorthand back to -o --- src/commands/deployment/get.decorator.json | 2 +- tests/validations.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/deployment/get.decorator.json b/src/commands/deployment/get.decorator.json index 591c94bab..fa5cc2e7a 100644 --- a/src/commands/deployment/get.decorator.json +++ b/src/commands/deployment/get.decorator.json @@ -39,7 +39,7 @@ "defaultValue": "" }, { - "arg": "-O, --output ", + "arg": "-o, --output ", "description": "Output the information one of the following: normal, wide, JSON", "defaultValue": "normal" }, diff --git a/tests/validations.sh b/tests/validations.sh index d9818b882..27e6ef8ed 100644 --- a/tests/validations.sh +++ b/tests/validations.sh @@ -432,7 +432,7 @@ fi export sa_access_key=$(echo "$sa_access_key" | tr -d '"') spk init -f ./spk-config-test.yaml spk deployment get --build-id $pipeline1id -export output=$(spk deployment get --build-id $pipeline1id -O json > file.json ) +export output=$(spk deployment get --build-id $pipeline1id -o json > file.json ) length=$(cat file.json | jq 'length') if (( length > 0 )); then echo "$length deployment(s) were returned by spk deployment get"