Commit 2b3bc69b authored by Visay Keo's avatar Visay Keo

[TASK] Update example in README

parent 87e760a6
...@@ -4,7 +4,7 @@ CHANGELOG ...@@ -4,7 +4,7 @@ CHANGELOG
2.3-dev 2.3-dev
------- -------
- - [TASK] Update example in README
2.3.0 2.3.0
----- -----
......
...@@ -31,8 +31,8 @@ fi ...@@ -31,8 +31,8 @@ fi
# If remote user is not set anywhere, throw error # If remote user is not set anywhere, throw error
if [ -z "${REMOTE_USER}" ]; then if [ -z "${REMOTE_USER}" ]; then
echo "Please specify the user of the remote server to sync from:" echo "Please specify the user of the remote server to sync from:"
echo "Example: bin/syncontent latest-014-007" echo "Example: bin/syncontent --remote-user=latest-014-007"
echo "Example: bin/syncontent demo-014-007" echo "Example: bin/syncontent -u=demo-014-007"
echo "Or specify it in config/master directory, read the doc" echo "Or specify it in config/master directory, read the doc"
exit 0 exit 0
fi fi
...@@ -44,8 +44,8 @@ STAGE=`echo ${REMOTE_USER} | cut -d '-' -f1` ...@@ -44,8 +44,8 @@ STAGE=`echo ${REMOTE_USER} | cut -d '-' -f1`
# Check if stage is not latest or demo, throw error # Check if stage is not latest or demo, throw error
if [ "${STAGE}" != "latest" ] && [ "${STAGE}" != "demo" ]; then if [ "${STAGE}" != "latest" ] && [ "${STAGE}" != "demo" ]; then
echo "Only latest or demo is supported at the moment:" echo "Only latest or demo is supported at the moment:"
echo "Example: bin/syncontent latest-014-007" echo "Example: bin/syncontent -u=latest-014-007"
echo "Example: bin/syncontent demo-014-007" echo "Example: bin/syncontent --remote-user=demo-014-007"
exit 0 exit 0
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment