[Bug 1670] New: Send --help to stdout, not stderr

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Nov 2 07:51:32 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1670

           Summary: Send --help to stdout, not stderr
           Product: Portable OpenSSH
           Version: 5.3p1
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ssh
        AssignedTo: unassigned-bugs at mindrot.org
        ReportedBy: jari.aalto at cante.net


This can be expected to appear in stderr:                               

     $ ssh -8
     sh: illegal option -- 8
     usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c
cipher_spec]

But this should go to stdout, not stderr:

     $ ssh --help | less

Please chnage the -help option to send text to stdout, not stderr.
See GNU cp(1), ls(1) etc.

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list