Skip to content

Commit 912e73e

Browse files
committed
Update version check message to include brew upgrade instructions
1 parent 587eb94 commit 912e73e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/gitfetch/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ def main() -> int:
6868
latest = resp.json()["tag_name"].lstrip("v")
6969
if latest != __version__:
7070
print(
71-
f"\033[93mUpdate available: {latest}. Get it at https://github.com/Matars/gitfetch/releases/latest\033[0m")
71+
f"\033[93mUpdate available: {latest}\n"
72+
"Get it at: https://github.com/Matars/gitfetch/releases/latest\n"
73+
"Or run: brew upgrade gitfetch\033[0m")
7274
else:
7375
print("You are using the latest version.")
7476
else:

0 commit comments

Comments
 (0)