Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 79717d7

Browse files
committedMar 14, 2025··
✨ Improve Wording
Signed-off-by: Pascal Marco Caversaccio <[email protected]>
1 parent e12e0e0 commit 79717d7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ This Bash [script](./safe_hashes.sh) calculates the Safe transaction hashes by r
7373
**Options:**
7474

7575
- `--help`: Display this help message.
76-
- `--version`: Display the latest commit hash (=version) of the script.
76+
- `--version`: Display the latest local commit hash (=version) of the script.
7777
- `--list-networks`: List all supported networks and their chain IDs.
7878
- `--network <network>`: Specify the network (e.g., `ethereum`, `polygon`).
7979
- `--address <address>`: Specify the Safe multisig address.

‎safe_hashes.sh

+4-4
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Usage: $0 [--help] [--list-networks]
204204
205205
Options:
206206
--help Display this help message
207-
--version Display the latest commit hash (=version) of the script
207+
--version Display the latest local commit hash (=version) of the script
208208
--list-networks List all supported networks and their chain IDs
209209
--network <network> Specify the network (required)
210210
--address <address> Specify the Safe multisig address (required)
@@ -224,15 +224,15 @@ EOF
224224
exit "${1:-1}"
225225
}
226226

227-
# Utility function to retrieve the latest commit hash from the Git repository.
227+
# Utility function to retrieve the latest local commit hash from the Git repository.
228228
# We don't include `git` in the `check_required_tools` function to avoid making
229229
# it a strict dependency for the script to run.
230230
get_latest_git_commit_hash() {
231231
local commit_hash=""
232232
if command -v git &>/dev/null; then
233233
commit_hash=$(git rev-parse HEAD 2>/dev/null)
234234
if [[ -n "$commit_hash" ]]; then
235-
echo -e "Commit hash (=version) of the script: ${GREEN}$commit_hash${RESET}."
235+
echo -e "Latest local commit hash (=version) of the script: ${GREEN}$commit_hash${RESET}."
236236
exit 0
237237
else
238238
echo -e "${BOLD}${RED}No commit hash information available. There may be an issue with your Git installation or repository configuration.${RESET}"
@@ -701,7 +701,7 @@ calculate_safe_hashes() {
701701
# Parse the command line arguments.
702702
# Please note that `--help`, `--version`, and `--list-networks` can be used
703703
# independently or alongside other options without causing the script to fail.
704-
# They are special options that can be called without affecting the rest of
704+
# They are special options that can be called without affecting the rest of
705705
# the command processing.
706706
while [[ $# -gt 0 ]]; do
707707
case "$1" in

0 commit comments

Comments
 (0)
Please sign in to comment.