diff --git a/tools/new_release.sh b/tools/new_release.sh index 3f338b94c3..5be73306fd 100755 --- a/tools/new_release.sh +++ b/tools/new_release.sh @@ -19,13 +19,13 @@ set -e function usage { - echo "Usage: new_release.sh " + echo "Usage: $(basename $0) " echo - echo "Example: new_release.sh mitaka oslo.rootwrap feature" - echo "Example: new_release.sh independent reno bugfix" + echo "Example: $(basename $0) mitaka oslo.rootwrap feature" + echo "Example: $(basename $0) independent reno bugfix" echo echo "For further details about how to use the 'new-release' command:" - echo "tox -e venv new-release --help" + echo "tox -e venv -- new-release --help" } if [ $# -lt 3 ]; then