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

Fix stdin usage text in PrintUsage #1537

Merged
merged 2 commits into from
Jul 4, 2023

Conversation

enjoy-binbin
Copy link
Member

No description provided.

@git-hulk git-hulk merged commit 5bda1f6 into apache:unstable Jul 4, 2023
24 of 28 checks passed
@enjoy-binbin enjoy-binbin deleted the fix_help_message branch July 4, 2023 09:53
@@ -144,7 +144,7 @@ static void PrintUsage(const char *program) {
std::cout << program << " implements the Redis protocol based on rocksdb" << std::endl
<< "Usage:" << std::endl
<< std::left << new_opt << "-c, --config <filename>"
<< "set config file to <filename>, or `-' for stdin" << std::endl
Copy link
Member

Choose a reason for hiding this comment

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

This is actually some old-fashion style back to the age of UNIX commands or POSIX commands manual.

I'm OK with this change but notice here that it's not a "mistake" to fix :D

Copy link
Member

Choose a reason for hiding this comment

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

👍 I have never noticed this.

Copy link
Member Author

Choose a reason for hiding this comment

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

kind of interested in this, do you happen to have a link to it? thanks for pointing it out btw

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.

4 participants