refactor: make error message bold

This commit is contained in:
Daylin Morgan 2023-08-07 11:37:53 -05:00
parent 156f358fde
commit 6dfc9c566a
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -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)