If you just type 'rpm', there is place where --ftpuseport is mentioned. This is probably just a leftover, and should mean --ftpport, because --ftpuseport isn't used anywhere in the code.. Translations need fixing too. I'm sure this exists in 3.0.5 too, haven't checked though.
Created attachment 838 [details] Small patch to remove --ftpuseport
Fixed. Thanks for noticing.
As of beta5, this would still appear to be an issue: --- rpm {--query -q} [-afpg] [-i] [-l] [-s] [-d] [-c] [-v] [-R] [--scripts] [--root <dir>] [--rcfile <file>] [--whatprovides] [--whatrequires] [--requires] [--triggeredby] [--ftpport] [--ftpproxy <host>] [--httpproxy <host>] [--httpport <port>] [--ftpport <port>] [--provides] [--triggers] [--dump] [--changelog] [--dbpath <dir>] [targets] --- Note that --ftpuseport was changed to --ftpport (as it should be), but the parameter <port> is missing; two lines down the correct syntax is used.
This is fixed in CVS and in later-than-beta5 versions of rpm.
Fine in RC1.