From 36ea7c5d706985b535eddb76c23dbcb6f4a41114 Mon Sep 17 00:00:00 2001 From: chabad360 Date: Fri, 5 Oct 2018 22:12:48 +0000 Subject: [PATCH] changes some of the wording of the help message --- dbench | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dbench b/dbench index 225a25e3..76da4e19 100755 --- a/dbench +++ b/dbench @@ -28,21 +28,23 @@ elif [ "$1" == '-c' ]; then shift docker exec -iu "$user" frappe bash -c "$@" elif [ "$1" == '-h' ]; then - echo "$0 [-h] | [ -c frappe | root ] [ command to send to bench ]" + echo "$0 [-h] | [ -c frappe | root ] [ ]" echo "" echo "$0 extends the Frappe Bench tool, and is used like it. However, it extends the tool in a few places." echo "Usage:" echo " $0" echo " Launches you into an interactive shell in the container as user frappe" - echo " $0 init [bench folder name]" + echo " $0 init bench-folder-name" echo " Runs \"bench init\" along with some other commands" echo " $0 setup docker" - echo " starts docker using \"docker-compose up -d\"" + echo " Starts and builds the docker containers using \"docker-compose up -d\"" echo " $0 setup hosts" - echo " adds all sites to the hosts file, run with sudo" + echo " Adds all sites to the hosts file, run with sudo" echo " $0 -c frappe | root " echo " Runs a command in the container, as the selected user" - echo " $0 [ command to send to bench ]" + echo " $0 -h" + echo " Shows this help message" + echo " $0 " echo " Runs a command in bench, i.e. $0 new-site site1.local = bench new-site site1.local" else IFS=" "