From 4648e45b92101f13f83548286accaf3139ee33ea Mon Sep 17 00:00:00 2001 From: Mitesh Shah Date: Mon, 6 Jan 2014 17:49:41 +0530 Subject: [PATCH] Display HELP or Use Default Args Whenever Possible --- usr/local/sbin/easyengine | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/usr/local/sbin/easyengine b/usr/local/sbin/easyengine index b2bf02b5..046e91c7 100644 --- a/usr/local/sbin/easyengine +++ b/usr/local/sbin/easyengine @@ -1504,6 +1504,12 @@ then fi + else + echo -e "\033[31mDid you mean this?\e[0m" + echo -e "\tpurge:\t Remove Nginx PHP5-FPM phpMyAdmin MySQL And Postfix" + echo -e "\tremove:\t Remove Nginx PHP5-FPM phpMyAdmin MySQL And Postfix" + echo -e "\tinstall: Install Nginx PHP5-FPM phpMyAdmin MySQL And Postfix" + fi @@ -2090,6 +2096,16 @@ then fi +else + echo -e "\033[31mDid you mean this?\e[0m" + echo -e "\tinfo:\t Display Nginx PHP MySQL Information\t" + echo -e "\thelp:\t Display EasyEngine Help\t" + echo -e "\tsite:\t Do Various Site Specific Operations\t" + echo -e "\tsystem:\t Do Various System Level Operations\t" + echo -e "\tupdate:\t Update EasyEngine (ee)\t" + echo -e "\tversion: Display EasyEngine (ee) Version\t" + + fi }