fix: correct name for upgrade flags in help output

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-10 03:00:22 -04:00
parent 64394619b5
commit 980e7d1650

View File

@@ -13,7 +13,7 @@ service-upgrade-cmd() {
#F -i|--image-version IMAGE_VERSION, the image version to start the service with
declare desc="upgrade service <service> to the specified versions"
local cmd="$PLUGIN_COMMAND_PREFIX:upgrade" argv=("$@"); [[ ${argv[0]} == "$cmd" ]] && shift 1
declare SERVICE="$1" CLONE_FLAGS_LIST="${@:2}"
declare SERVICE="$1" UPGRADE_FLAG_LIST="${@:2}"
[[ -z "$SERVICE" ]] && dokku_log_fail "Please specify a name for the service"
verify_service_name "$SERVICE"