Skip to content

docs: fix write-to-stdout file redirection example - #128

Merged
ynqa merged 1 commit into
ynqa:mainfrom
Likio3000:docs/jnv-usage-correction-20260923
Sep 24, 2026
Merged

ynqa merged 1 commit into
ynqa:mainfrom
Likio3000:docs/jnv-usage-correction-20260923

Conversation

@Likio3000

Copy link
Copy Markdown
Contributor

The file-redirection example places --write-to-stdout after --, which ends option parsing. It is then treated as the input filename instead of enabling output. Remove the extra -- so this example works like the adjacent pipeline example.

Checked against the Args definition, input handling and stdout redirection code. Documentation only; no build or project tests were run. Prepared and reviewed with AI assistance.

@ynqa ynqa left a comment

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.

@Likio3000 Thanks, LGTM~

@ynqa
ynqa merged commit 76bbf85 into ynqa:main Sep 24, 2026
6 checks 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