prajwalch / yazap

🔧 The ultimate Zig library for seamless command line argument parsing.
https://prajwalch.github.io/yazap
MIT License
152 stars 13 forks source link

Missing newline when logging `ParseError.CommandSubcommandNotProvided` #24

Closed thenester closed 3 months ago

thenester commented 3 months ago

Hello,

First of all, thank you for the handy library!

I encountered a really minor thing to improve related to error logging. When the ParseError.CommandSubcommandNotProvided is logged, the \n is missed at the end of the log format in contrast to all other similar places.

https://github.com/prajwalch/yazap/blob/f7308097f9e9ccb0a523762372f53755aa1b57c2/src/error.zig#L82

It would be good to add a missing \n so that errors logging style is consistent.

Thanks.

prajwalch commented 3 months ago

Patch is now available :)