New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update s_client and s_server documentation about some missing arguments #1837
Conversation
|
||
The TCP port to listen on for connections. If not specified 4433 is used. | ||
|
||
=item B<-accept val> | ||
|
||
The TCP optional ost and port to listen on for connections. If not specified 4433 is used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/ost/host/?
Is only the host optional so that the default is just a port? This text is not clear.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'host', yes. Sorry for the typo.
@@ -125,14 +130,34 @@ manual page. | |||
|
|||
Print out a usage message. | |||
|
|||
=item B<-accept port> | |||
=item B<-port port> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s_server's -port argument was present but undocumented (even in usage()) in SSLeay 0.8.1b, the earliest point in this git repo. One might wonder whether it was intentionally undocumented.
|
||
=item B<-unlink> | ||
|
||
For -unix, unlink existing socket first. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of these could probably be reworded slightly better, for example, this one could be "unlink any existing socket before creating a new socket", but wordsmithing via pull-request comments is probably not worth the effort.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree with all your comments. I have just taken the text from the -help option of each command. My english isn't good enought to supply better sentences.
:-(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some minor wording tweaks, hope this helps.
@@ -132,6 +135,18 @@ When used with the B<-connect> flag, the program uses the host and port | |||
specified with this flag and issues an HTTP CONNECT command to connect | |||
to the desired server. | |||
|
|||
=item B<-unix val> | |||
|
|||
Connect over Unix domain sockets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps "path" instead of val, and "Connect over the specified Unix-domain socket"
|
||
The TCP port to listen on for connections. If not specified 4433 is used. | ||
|
||
=item B<-accept val> | ||
|
||
The TCP optional host and port to listen on for connections. If not specified 4433 is used. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The optional TCP host..." And "specified, "*:4433" is used" (Not quotes around the *:4433.
I am completely lost with Git / GitHub :-( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. EXCEPT that the statem_srvr change is NOT part of his PR.
Guess I should have created a distinct branch for each topic to avoid my last commit to join the 'current' PR ? |
No, one merge request with all your changes in it is what we want. Do something like this to undo the wrong-file changes:
|
Thanks Ritch for helping me with git. Seems that I was able to remove the last commit, but it was not without pain... (I am working under Windows using TortoiseGit). |
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from #1837)
a22f9c8 on master and d67fe76 on 1.1.0 thank you! |
No description provided.