mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 15:25:09 +00:00
changes some of the wording of the help message
This commit is contained in:
parent
ac6756c30a
commit
36ea7c5d70
1 changed files with 7 additions and 5 deletions
12
dbench
12
dbench
|
|
@ -28,21 +28,23 @@ elif [ "$1" == '-c' ]; then
|
||||||
shift
|
shift
|
||||||
docker exec -iu "$user" frappe bash -c "$@"
|
docker exec -iu "$user" frappe bash -c "$@"
|
||||||
elif [ "$1" == '-h' ]; then
|
elif [ "$1" == '-h' ]; then
|
||||||
echo "$0 [-h] | [ -c frappe | root <command to run in frappe container, under selceted user> ] [ command to send to bench ]"
|
echo "$0 [-h] | [ -c frappe | root <command to run> ] [ <command to send to bench> ]"
|
||||||
echo ""
|
echo ""
|
||||||
echo "$0 extends the Frappe Bench tool, and is used like it. However, it extends the tool in a few places."
|
echo "$0 extends the Frappe Bench tool, and is used like it. However, it extends the tool in a few places."
|
||||||
echo "Usage:"
|
echo "Usage:"
|
||||||
echo " $0"
|
echo " $0"
|
||||||
echo " Launches you into an interactive shell in the container as user frappe"
|
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 " Runs \"bench init\" along with some other commands"
|
||||||
echo " $0 setup docker"
|
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 " $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 <command to run>"
|
echo " $0 -c frappe | root <command to run>"
|
||||||
echo " Runs a command in the container, as the selected user"
|
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 <command to send to bench>"
|
||||||
echo " Runs a command in bench, i.e. $0 new-site site1.local = bench new-site site1.local"
|
echo " Runs a command in bench, i.e. $0 new-site site1.local = bench new-site site1.local"
|
||||||
else
|
else
|
||||||
IFS=" "
|
IFS=" "
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue