1
0
mirror of https://github.com/httpie/cli.git synced 2025-08-10 22:42:05 +02:00

Hide pretty help (#1384)

This commit is contained in:
Batuhan Taskaya
2022-05-05 21:17:24 +03:00
committed by GitHub
parent c4d7d05f3b
commit 76495cbdec

View File

@@ -572,12 +572,6 @@ class HTTPieArgumentParser(BaseHTTPieArgumentParser):
highlight=False
)
def print_help(self):
from httpie.output.ui import rich_help
for renderable in rich_help.to_help_message(self.spec):
self.env.rich_console.print(renderable)
def print_usage(self, file):
from rich.text import Text
from httpie.output.ui import rich_help