mirror of
https://github.com/httpie/cli.git
synced 2025-06-22 10:31:42 +02:00
Hide pretty help (#1384)
This commit is contained in:
parent
c4d7d05f3b
commit
76495cbdec
@ -572,12 +572,6 @@ class HTTPieArgumentParser(BaseHTTPieArgumentParser):
|
|||||||
highlight=False
|
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):
|
def print_usage(self, file):
|
||||||
from rich.text import Text
|
from rich.text import Text
|
||||||
from httpie.output.ui import rich_help
|
from httpie.output.ui import rich_help
|
||||||
|
Loading…
x
Reference in New Issue
Block a user