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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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