Skip to content

and new line to version message#38

Merged
mcmilk merged 1 commit into
mcmilk:masterfrom
tansy:version-n
Oct 4, 2025
Merged

and new line to version message#38
mcmilk merged 1 commit into
mcmilk:masterfrom
tansy:version-n

Conversation

@tansy
Copy link
Copy Markdown
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.

Comment thread programs/main.c
{
printf(" %s using libzstdmt v0.8, using %s %s"
"\n Copyright (c) 2016 - 2024 Tino Reichardt",
"\n",
Copy link
Copy Markdown
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
Copy Markdown
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