From a3b3a6a12a2d87f02562054f639e218426e44bce Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 23 Nov 2014 22:51:08 -0500 Subject: [PATCH] Unify missing app error messages --- plugins/apps/commands | 4 ++-- plugins/config/commands | 2 +- plugins/nginx-vhosts/commands | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/apps/commands b/plugins/apps/commands index 8cf943943..2c8367b39 100755 --- a/plugins/apps/commands +++ b/plugins/apps/commands @@ -9,7 +9,7 @@ case "$1" in apps:create) if [[ -z $2 ]]; then - echo "Please specify an app to create" + echo "Please specify an app to run the command on" exit 1 fi APP="$2" @@ -24,7 +24,7 @@ case "$1" in apps:destroy) if [[ -z $2 ]]; then - echo "Please specify an app to delete" + echo "Please specify an app to run the command on" exit 1 fi APP="$2"; IMAGE="dokku/$APP"; diff --git a/plugins/config/commands b/plugins/config/commands index 2e46d53e4..056bef809 100755 --- a/plugins/config/commands +++ b/plugins/config/commands @@ -4,7 +4,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x # Check if name is specified if [[ $1 == config ]] || [[ $1 == config:* ]]; then if [[ -z $2 ]]; then - echo "You must specify an app name" + echo "Please specify an app to run the command on" exit 1 else APP="$2" diff --git a/plugins/nginx-vhosts/commands b/plugins/nginx-vhosts/commands index 97567d2c3..56e95920e 100755 --- a/plugins/nginx-vhosts/commands +++ b/plugins/nginx-vhosts/commands @@ -4,7 +4,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x case "$1" in nginx:import-ssl) if [[ -z $2 ]]; then - echo "Please specify an app to create" + echo "Please specify an app to run the command on" exit 1 fi APP="$2"