bugzilla-daemon at mindrot.org
2020-Sep-29 00:19 UTC
[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 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.
bugzilla-daemon at mindrot.org
2020-Sep-29 00:19 UTC
[Bug 3214] Man page should specify which switches are incompatible with a 'command'
https://bugzilla.mindrot.org/show_bug.cgi?id=3214
Wayne Walker <lwaynewalker at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|enhancement |minor
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2020-Sep-29 04:53 UTC
[Bug 3214] Man page should specify which switches are incompatible with a 'command'
https://bugzilla.mindrot.org/show_bug.cgi?id=3214
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dtucker at dtucker.net
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
We actually did that recently
(https://github.com/openssh/openssh-portable/commit/00531bb42f1af17ddabea59c3d9c4b0629000d27)
and it's in 8.4p1 which was released in the last couple of days.
$ ssh -V
OpenSSH_8.4, LibreSSL 3.2.2
$ ssh-agent -?
ssh-agent: unknown option -- ?
usage: ssh-agent [-c | -s] [-Dd] [-a bind_address] [-E
fingerprint_hash]
[-P allowed_providers] [-t life]
ssh-agent [-a bind_address] [-E fingerprint_hash] [-P
allowed_providers]
[-t life] command [arg ...]
ssh-agent [-c | -s] -k
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2020-Sep-29 08:26 UTC
[Bug 3214] Man page should specify which switches are incompatible with a 'command'
https://bugzilla.mindrot.org/show_bug.cgi?id=3214
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Mar-03 22:53 UTC
[Bug 3214] Man page should specify which switches are incompatible with a 'command'
https://bugzilla.mindrot.org/show_bug.cgi?id=3214
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
close bugs that were resolved in OpenSSH 8.5 release cycle
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.