mirror of
https://github.com/daylinmorgan/viv.git
synced 2024-12-22 10:40:44 -06:00
refactor: make error message bold
This commit is contained in:
parent
156f358fde
commit
6dfc9c566a
1 changed files with 2 additions and 2 deletions
|
@ -53,7 +53,7 @@ from typing import (
|
||||||
from urllib.error import HTTPError
|
from urllib.error import HTTPError
|
||||||
from urllib.request import urlopen
|
from urllib.request import urlopen
|
||||||
|
|
||||||
__version__ = "23.8a1-7-gc75ae60-dev"
|
__version__ = "23.8a1-8-g156f358-dev"
|
||||||
|
|
||||||
|
|
||||||
class Spinner:
|
class Spinner:
|
||||||
|
@ -678,7 +678,7 @@ class ArgumentParser(StdArgParser):
|
||||||
)
|
)
|
||||||
|
|
||||||
def error(self, message: str) -> NoReturn:
|
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)
|
sys.exit(2)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue