mirror of
https://github.com/httpie/cli.git
synced 2025-02-17 10:00:50 +01:00
Display all choices on --help
This commit is contained in:
parent
79a8ecd84b
commit
977f97d070
@ -154,10 +154,7 @@ def to_help_message(
|
||||
desc = raw_form.get('short_description', '')
|
||||
if raw_form.get('choices'):
|
||||
desc += ' (choices: '
|
||||
desc += textwrap.shorten(
|
||||
', '.join(raw_form.get('choices')),
|
||||
MAX_CHOICE_CHARS,
|
||||
)
|
||||
desc += ', '.join(raw_form.get('choices'))
|
||||
desc += ')'
|
||||
|
||||
rows = [
|
||||
|
Loading…
Reference in New Issue
Block a user