Mailing List Archive

[Bug 3214] New: Man page should specify which switches are incompatible with a 'command'
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@mindrot.org
Reporter: lwaynewalker@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.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs