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

gen.pl duplicates option text #10461

Closed
dfandrich opened this issue Feb 9, 2023 · 0 comments
Closed

gen.pl duplicates option text #10461

dfandrich opened this issue Feb 9, 2023 · 0 comments

Comments

@dfandrich
Copy link
Contributor

As reported in #10459, the man page for the --no-clobber option has the text

You can thus use --clobber to enforce the clobbering, even if -J, --remote-header-name or -J is specified.

However, the source file no-clobber.d says

You can thus use --clobber to enforce the clobbering, even if --remote-header-name or -J is specified.

Note the underlined text in the first case -J,. The erroneous text is created with the command

perl ./gen.pl mainpage no-clobber.d remote-header-name.d

but it does not appear with the command

perl ./gen.pl mainpage no-clobber.d

the difference being that adding the remote-header-name.d file includes an option referenced in no-clobber.d that appears in the area which the added text occurs.

bagder added a commit that referenced this issue Feb 9, 2023
... since they are expanded and the short-form gets mentioned
automatically so if the short form is mention as well, it gets repeated.

Fixes #10461
Reported-by: Dan Fandrich
@bagder bagder closed this as completed in 33866a3 Feb 9, 2023
bch pushed a commit to bch/curl that referenced this issue Jul 19, 2023
... since they are expanded and the short-form gets mentioned
automatically so if the short form is mentioned as well, it gets
repeated.

Fixes curl#10461
Closes curl#10462
Reported-by: Dan Fandrich
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant