Bug 1704 - sftp complains about -p command-line option
Summary: sftp complains about -p command-line option
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sftp (show other bugs)
Version: -current
Hardware: All All
: P2 normal
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-27 11:41 AEDT by Iain Morgan
Modified: 2010-04-16 15:50 AEST (History)
1 user (show)

See Also:


Attachments
Add 'p' to the list of accepted command-line options (342 bytes, patch)
2010-01-27 11:41 AEDT, Iain Morgan
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Iain Morgan 2010-01-27 11:41:36 AEDT
Created attachment 1784 [details]
Add 'p' to the list of accepted command-line options

As of the 20100127 snapshot, the sftp(1) man page lists -p as a valid
command-line option, but sftp complains with the usage summary whenever
it is used. The problem is that 'p' is missing from the list of accepted
switches in the getopt() statement.
Comment 1 Damien Miller 2010-01-28 07:32:31 AEDT
fixed in CVS, will be in tomorrow's snapshot
Comment 2 Damien Miller 2010-04-16 15:50:30 AEST
Mass move of bugs RESOLVED->CLOSED following the release of openssh-5.5p1