Replies: 1 comment
-
Better late than never - showing default values in help is now supported, see: #1032 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I just have a question/suggestion about the output of help information in Spectre.Console.Cli.
I've been creating a small CLI utility and noticed that an argument with a default value isn't being output to the screen when the program is run without arguments and help screen is displayed. I see from source, that this is done on purpose. On the other hand, when I run the command with a -h switch, it IS being output.
Now thinking from the usability perspective, you have to specifically execute the program with the help switch to get default arguments displayed. Sometimes you don't even now that there are any default arguments and you probably won't even try to query for help information.
I think it is a common practice/usage models to display non-mandatory arguments when the program is run without any arguments.
What is your reasoning on this?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions