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

More debug info printed when using -v switch (or -vv?) #79

Closed
kaushalmodi opened this issue Apr 5, 2022 · 2 comments
Closed

More debug info printed when using -v switch (or -vv?) #79

kaushalmodi opened this issue Apr 5, 2022 · 2 comments
Labels
feature/request New feature or request

Comments

@kaushalmodi
Copy link
Contributor

Hey, I'm glad this issue is resolved by #76, wasn't expecting that 😄

@orhun May I suggest that when the user uses -v (or may be -vv), you print all the environment variables and parsed git cliff CLI switch values that affect its output?

Hmm, can you elaborate what you mean with an example? Actually, having a separate issue for tracking this would be great.

Originally posted by @orhun in #75 (comment)


I meant that when -v or -vv switch is used, git-cliff should dump out values of all the environment variables it's going to use, and also the values of all the CLI switches passed by the user.

@orhun
Copy link
Owner

orhun commented Apr 6, 2022

With a8efffc, arguments and parsed configuration is printed to stdout (as trace log) if -vv is used.

I think this should be enough to debug situations like #75, what do you think?

@orhun orhun added the feature/request New feature or request label Apr 6, 2022
@kaushalmodi
Copy link
Contributor Author

This helps! Thank you.

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

No branches or pull requests

2 participants