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

How to add description for each field? #8

Closed
kant777 opened this issue Nov 24, 2021 · 2 comments
Closed

How to add description for each field? #8

kant777 opened this issue Nov 24, 2021 · 2 comments

Comments

@kant777
Copy link

kant777 commented Nov 24, 2021

How to add description for each field in the usage section?

@omeid
Copy link
Owner

omeid commented Nov 26, 2021

I have pushed a fix and documentation. Please see the latest README.

If it addresses your problem please close this issue.

@kant777
Copy link
Author

kant777 commented Nov 26, 2021

Thanks a lot, yes it addresses the current. another quick question that is relevant to this.

Why expose the field column? I think exposing internal data structure can be a security issue but definitely helps debugging for which it would be nice to have another flag like myapp -debug where it prints exactly like it is today and then myapp --help where it prints all the columns besides the field column. Either way --help would be great since its the most common practice

@kant777 kant777 closed this as completed Nov 26, 2021
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