Commit a83acfa3 authored by Visay Keo's avatar Visay Keo

[TASK] Update example in README

parent e6d75cda
......@@ -4,6 +4,7 @@ CHANGELOG
3.0-dev
---------
- [TASK] Update example in README
- [IMP] Add flow command resource:publish
2.3.0
......
......@@ -31,8 +31,8 @@ fi
# If remote user is not set anywhere, throw error
if [ -z "${REMOTE_USER}" ]; then
echo "Please specify the user of the remote server to sync from:"
echo "Example: bin/syncontent latest-014-007"
echo "Example: bin/syncontent demo-014-007"
echo "Example: bin/syncontent --remote-user=latest-014-007"
echo "Example: bin/syncontent -u=demo-014-007"
echo "Or specify it in config/master directory, read the doc"
exit 0
fi
......@@ -44,8 +44,8 @@ STAGE=`echo ${REMOTE_USER} | cut -d '-' -f1`
# Check if stage is not latest or demo, throw error
if [ "${STAGE}" != "latest" ] && [ "${STAGE}" != "demo" ]; then
echo "Only latest or demo is supported at the moment:"
echo "Example: bin/syncontent latest-014-007"
echo "Example: bin/syncontent demo-014-007"
echo "Example: bin/syncontent -u=latest-014-007"
echo "Example: bin/syncontent --remote-user=demo-014-007"
exit 0
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