[Bug 3214] New: Man page should specify which switches are incompatible with a 'command'

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Tue Sep 29 10:19:22 AEST 2020


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

            Bug ID: 3214
           Summary: Man page should specify which switches are
                    incompatible with a 'command'
           Product: Portable OpenSSH
           Version: 8.3p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh-agent
          Assignee: unassigned-bugs at mindrot.org
          Reporter: lwaynewalker at gmail.com

The usage message and the man page both show that [-c | -s] [-Dd] are
compatible with [command [arg ...]].

```
$ ssh-agent -D /bin/bash
usage: ssh-agent [-c | -s] [-Dd] [-a bind_address] [-E
fingerprint_hash]
                 [-P provider_whitelist] [-t life] [command [arg ...]]
       ssh-agent [-c | -s] -k
$
```

The SYNOPSIS and the usage message should both be changed to show that
they are incompatible.

This would have saved me hours:

usage: ssh-agent [-a bind_address] [-E fingerprint_hash] [-P
provider_whitelist] [-t life] (  [-c | -s] [-Dd] | [command [arg ...]]
)
       ssh-agent [-c | -s] -k

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list