question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add newlines between options in help text

See original GitHub issue

In case of multi-line help messages for options the list of options cmd --help gets difficult to read. It would be great to have an option to toggle extra newlines after multi-line help messages / in general between option help messages.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
mcclurecommented, Sep 18, 2019

I have an opinion: I think the spaces between options looks good, but I think that if there are options between some of the options, there should be blank lines between all of the options. It seems visually confusing to me for it to be inconsistent.

2reactions
davidismcommented, Jul 27, 2018

I don’t want this to be an option. If you think it’s more readable, just implement it as standard.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python click help formatting newline - Stack Overflow
From experiments with Click 7.0, it seems the sequence needed in a help text to trigger this is '\b\n', i.e. backspace followed by...
Read more >
Allow line breaks in help text/tooltips - IdeaExchange
A small but important UX improvement: please allow line breaks in help text/tooltips. It would go a long way towards legibility.
Read more >
How do I add newlines between lines printed on the command ...
The G command appends a newline and the contents of the hold space to the pattern space. The above sed program never puts...
Read more >
Python argparse: How to insert newline in the help text?
I'm using argparse in Python 2.7 for parsing input options. One of my options is a multiple choice. I want to make a...
Read more >
Adding new line in more information - ServiceNow Community
Use <br> tag to display text in new line in help text. find_real_file.png. Help text of the variable looks ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found