From 6dfc9c566a85739ada02b4c4825a75c06fcdc4c9 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 7 Aug 2023 11:37:53 -0500 Subject: [PATCH] refactor: make error message bold --- src/viv/viv.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/viv/viv.py b/src/viv/viv.py index 9599317..c8f69a9 100755 --- a/src/viv/viv.py +++ b/src/viv/viv.py @@ -53,7 +53,7 @@ from typing import ( from urllib.error import HTTPError from urllib.request import urlopen -__version__ = "23.8a1-7-gc75ae60-dev" +__version__ = "23.8a1-8-g156f358-dev" class Spinner: @@ -678,7 +678,7 @@ class ArgumentParser(StdArgParser): ) def error(self, message: str) -> NoReturn: - error(message, f"see `{self.prog} --help` for more info") + error(message, f"see `{a.bold}{self.prog} --help{a.end}` for more info") sys.exit(2)