[Bug 1448] Report wrong command-line options

bugzilla-daemon at mindrot.org
Fri, 10 May 2013 06:29:47 -0000

Darren Tucker <dtucker at zip.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED
             Blocks|                            |2076

--- Comment #10 from Darren Tucker <dtucker at zip.com.au> ---
With these changes I get the following for your testcase:

$ touch a; ./scp --foobarbaz a b
unknown option -- -
usage: scp [-12346BCpqrv] [-c cipher] [-F ssh_config] [-i
identity_file]
           [-l limit] [-o ssh_option] [-P port] [-S program]
           [[user@]host1:]file1 ... [[user@]host2:]file2

Thanks for the report (and patience :-).  These changes will be in the
6.3p1 release.