Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cosmetic] Examples on help output are all on a single line #141

Closed
facundofc opened this issue Mar 15, 2024 · 5 comments
Closed

[cosmetic] Examples on help output are all on a single line #141

facundofc opened this issue Mar 15, 2024 · 5 comments

Comments

@facundofc
Copy link

$ jhack utils show-relation --help

 Usage: jhack utils show-relation [OPTIONS] [ENDPOINT1] [ENDPOINT2]

 Displays the databags of two applications or units involved in a relation.
 Examples: $ jhack utils show-relation my_app/0:relation_name other_app/2:other_name $ jhack utils show-relation my_app:relation_name other_app/2:other_name $ jhack utils show-relation my_app:relation_name other_app:other_name

The examples are all smushed together making them hard to read. This happens both on latest/stable (0.3.29) as in latest/edge (0.4.0.8).

@PietroPasotti
Copy link
Collaborator

Ah yeah, I've been meaning to fix those. Thanks!

@PietroPasotti
Copy link
Collaborator

seems to be on fastapi/typer#671
hopefully a release will fix that soon.

@PietroPasotti
Copy link
Collaborator

in the meanwhile I figured out a simple workaround for show-relation.
It now shows:

image

@PietroPasotti
Copy link
Collaborator

@facundofc should be fixed on edge

@facundofc
Copy link
Author

It is! Great, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants