Skip to content

Conversation

tansy
Copy link
Contributor

@tansy tansy commented Sep 22, 2025

As there is no new line at the end of version message it mixes up with command prompt like this:

$ zstd-mt -V
 zstd-mt using libzstdmt v0.8, using zstd v1.5.6
 Copyright (c) 2016 - 2024 Tino Reichardtuser@host: ~/ $

To prevent it '\n' is added.

{
printf(" %s using libzstdmt v0.8, using %s %s"
"\n Copyright (c) 2016 - 2024 Tino Reichardt",
"\n",
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about adding "\n" in the end of the two lines?

Copy link
Contributor Author

@tansy tansy Oct 4, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it was your style, like in usage(), @L158.

@mcmilk mcmilk merged commit 82ff397 into mcmilk:master Oct 4, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants