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

Omit empty braces in standard prompt for interactive options without description #1629

Closed
remkop opened this issue Mar 7, 2022 · 0 comments

Comments

@remkop
Copy link
Owner

remkop commented Mar 7, 2022

Raised by @deining on #1627 :

While running the sample code, I realized that there is a minor glitch here: if there is no description given for the interactive option, there are opening and closing braces which make no sense without the description string:

Enter value for --interactive (): 

Would be nice if these braces were supressed if no description string is given.

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

No branches or pull requests

1 participant