diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-02-12 16:39:27 -0500 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-02-12 16:39:39 -0500 |
commit | d73918447faf168670b5dfdd55f6c19ed6dd8632 (patch) | |
tree | 0002344cd24df3200bde079e77c6cad40f7cdd95 /contrib | |
parent | ea022d9fd0479c671fb44a40cb3ca3813c5952d1 (diff) | |
parent | 8c9b8a3668f3ecdd0fded01c2469d6c7d6168c39 (diff) | |
download | bitcoin-d73918447faf168670b5dfdd55f6c19ed6dd8632.tar.xz |
Merge #15216: Scripts and tools: Replace script name with a special parameter
8c9b8a3668 Replace script name with special parameter (Hennadii Stepanov)
Pull request description:
This PR improves UX; all others shell scripts ~(excluding travis linters)~ in the bitcoin repo have this feature.
Before:
![screenshot from 2019-01-20 17-45-42](https://user-images.githubusercontent.com/32963518/51442159-b5cfec80-1ce2-11e9-8017-3b0b464ccaf8.png)
After:
![screenshot from 2019-01-20 18-30-27](https://user-images.githubusercontent.com/32963518/51442166-bf595480-1ce2-11e9-9520-481518c3b288.png)
cc: @jamesob @laanwj
Tree-SHA512: 7924e5658a2efe81fd5591390ca5af1ff0558bd9d5693363b9f8addedb1d6b90aa16f11c9b361c6fdfbd931a959255817473a240c175dee95aefc7d2d4a10a36
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/install_db4.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/install_db4.sh b/contrib/install_db4.sh index e90b8af7e1..088d1c9dce 100755 --- a/contrib/install_db4.sh +++ b/contrib/install_db4.sh @@ -6,7 +6,7 @@ export LC_ALL=C set -e if [ -z "${1}" ]; then - echo "Usage: ./install_db4.sh <base-dir> [<extra-bdb-configure-flag> ...]" + echo "Usage: $0 <base-dir> [<extra-bdb-configure-flag> ...]" echo echo "Must specify a single argument: the directory in which db4 will be built." echo "This is probably \`pwd\` if you're at the root of the bitcoin repository." |