From fb5e5de6a305518c5db40df3b7833b18cbd576c8 Mon Sep 17 00:00:00 2001 From: Persa Zula Date: Mon, 5 Oct 2015 21:57:00 -0400 Subject: [PATCH] Adds helpful information regarding whitespacing when setting config values --- plugins/config/functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/config/functions b/plugins/config/functions index f78e4f8c6..393bc0807 100644 --- a/plugins/config/functions +++ b/plugins/config/functions @@ -147,6 +147,7 @@ config_set() { if [[ -z "${*:3}" ]]; then echo "Usage: dokku config:set APP KEY1=VALUE1 [KEY2=VALUE2 ...]" + echo "Whitespaces need to be escaped, i.e. KEY=\"VAL\ WITH\ SPACES\"" echo "Must specify KEY and VALUE to set." exit 1 fi @@ -160,6 +161,7 @@ config_set() { for var; do if [[ $var != *"="* ]]; then echo "Usage: dokku config:set APP KEY1=VALUE1 [KEY2=VALUE2 ...]" + echo "Whitespaces need to be escaped, i.e. KEY=\"VAL\ WITH\ SPACES\"" echo "Must specify KEY and VALUE to set." exit 1 fi