fix: ensure flags are properly represented in help output

This commit is contained in:
Jose Diaz-Gonzalez
2018-10-10 23:31:52 -04:00
parent 655901b1e0
commit 263d56a606

View File

@@ -15,7 +15,7 @@ service-upgrade-cmd() {
#F -R|--restart-apps "true", whether to force an app restart
declare desc="upgrade service <service> to the specified versions"
local cmd="$PLUGIN_COMMAND_PREFIX:upgrade" argv=("$@"); [[ ${argv[0]} == "$cmd" ]] && shift 1
declare SERVICE="$1" UPGRADE_FLAG_LIST="${@:2}"
declare SERVICE="$1" UPGRADE_FLAGS_LIST="${@:2}"
[[ -z "$SERVICE" ]] && dokku_log_fail "Please specify a name for the service"
verify_service_name "$SERVICE"