From f597644d595fffe0c34b00ab85e2278abf9ff311 Mon Sep 17 00:00:00 2001 From: Ben Peddell Date: Fri, 18 Sep 2015 19:12:20 +1000 Subject: [PATCH] Improve install.sh usage message --- tools/install.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/tools/install.sh b/tools/install.sh index d0adf11..1fb4378 100755 --- a/tools/install.sh +++ b/tools/install.sh @@ -75,15 +75,21 @@ else fi if [ "$showusage" == "yes" ]; then + echo "Usage: ./install.sh {|--me} [OPTIONS]" echo "You must specify your system steam user who own steamcmd directory to install ARK Tools." echo "Specify the special used '--me' to perform a user-install." - echo "Usage: ./install.sh steam" echo - echo "Environment variables affecting install:" - echo "EXECPREFIX: prefix in which to install arkmanager executable" - echo " [${EXECPREFIX}]" - echo "INSTALL_ROOT: staging directory in which to perform install" - echo " [${INSTALL_ROOT}]" + echo " The user arkmanager should be run as" + echo + echo "Option Description" + echo "--help, -h Show this help text" + echo "--me Perform a user-install" + echo "--prefix Specify the prefix under which to install arkmanager" + echo " [PREFIX=${PREFIX}]" + echo "--exec-prefix Specify the prefix under which to install executables" + echo " [EXECPREFIX=${EXECPREFIX}]" + echo "--install-root Specify the staging directory in which to perform the install" + echo " [INSTALL_ROOT=${INSTALL_ROOT}]" exit 1 fi