[PR #1163] [CLOSED] print help to stdout #1725

Closed
opened 2026-01-29 20:55:30 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/google/brotli/pull/1163
Author: @tansy
Created: 4/18/2024
Status: Closed

Base: masterHead: help-stdout


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 c/tools/brotli.c (+1 -1)

📄 Description

According to GNU coding standards `--help' should be printed to stdout. It makes sense as long help screen can be paged (`$ prog --help | more`), searched and so on.
There is an issue with the paging here because when paged with less(1) it makes black screen and even leaving it is difficult. I understand that is the issue but I made it to acknowledge the problem.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/google/brotli/pull/1163 **Author:** [@tansy](https://github.com/tansy) **Created:** 4/18/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `help-stdout` --- ### 📝 Commits (1) - [`683b3ea`](https://github.com/google/brotli/commit/683b3eaa78bc3d88c03de157ae09da9d24fdbc23) print help to stdout ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `c/tools/brotli.c` (+1 -1) </details> ### 📄 Description According to [GNU coding standards](https://www.gnu.org/prep/standards/standards.html#g_t_002d_002dhelp) \`--help' should be printed to stdout. It makes sense as long help screen can be paged (\`$ prog --help | more`), searched and so on. There is an issue with the paging here because when paged with less(1) it makes black screen and even leaving it is difficult. I understand that is the issue but I made it to acknowledge the problem. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 20:55:30 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/brotli#1725