Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 517084

Summary: curl program options differ from option in manual page
Product: Red Hat Enterprise Linux 5 Reporter: Miroslav Vadkerti <mvadkert>
Component: curlAssignee: Kamil Dudka <kdudka>
Status: CLOSED ERRATA QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4CC: rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-03-30 08:04:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
add options --ftp-account and --ftp-alternative-to-user to program help none

Description Miroslav Vadkerti 2009-08-12 15:15:45 UTC
Description of problem:
In curl some options are mentioned only by manual page and not by program help
10 option(s) reported by the man page ONLY:
	--data
	--environment
	--form
	--ftp-account
	--ftp-alternative-to-user
	--ftp-port
	--netrc
	--referer
	--socks
	-500

Version-Release number of selected component (if applicable):
curl-7.15.5-2.1.el5_3.5

How reproducible:
always

Steps to Reproduce:
1. man curl
2. curl -h
3. compare

  
Actual results:
Differences

Expected results:
No differences

Comment 1 Kamil Dudka 2009-08-13 13:25:29 UTC
(In reply to comment #0)
> In curl some options are mentioned only by manual page and not by program help
> 10 option(s) reported by the man page ONLY:
>  --data
not true, try: curl -h 2>&1 | grep --color -- --data

>  --environment
It is not in 'curl -h' because it's for RISC os only (see the man page).

>  --form
not true, try: curl -h 2>&1 | grep --color -- --form

>  --ftp-account
>  --ftp-alternative-to-user
Maybe bug, seems to be already fixed in Fedora.

>  --ftp-port
>  --netrc
>  --referer
not true, try likewise...

>  --socks
not even documented in the manual as option

>  -500
not an option at all

In summary this bug affects only --ftp-account and --ftp-alternative-to-user options.

Comment 3 Kamil Dudka 2009-10-27 15:03:52 UTC
Created attachment 366287 [details]
add options --ftp-account and --ftp-alternative-to-user to program help

Comment 5 Miroslav Vadkerti 2009-11-12 18:55:56 UTC
Kamil, 
when will be a new package available for testing?

Comment 6 Kamil Dudka 2009-11-12 19:12:33 UTC
As soon as I build it. No problem to do it right now if you need it. Should I go ahead?

Comment 8 Kamil Dudka 2009-11-18 11:11:14 UTC
(In reply to comment #5)

https://brewweb.devel.redhat.com/buildinfo?buildID=117499

Comment 11 errata-xmlrpc 2010-03-30 08:04:42 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2010-0273.html