OpenSMTPD docs: smtp.1

2021-02-12 Thread Larry Hynes
Note: the command 'smtp -h' only returns usage. Usage exits with '1'
(I assume this is to satisfy the default case in switch (ch) in
main()), even when called from the correct use of the '-h' flag,
which I don't think is correct.

Index: smtp.1
===
RCS file: /cvs/src/usr.sbin/smtpd/smtp.1,v
retrieving revision 1.8
diff -u -p -r1.8 smtp.1
--- smtp.1  21 Dec 2020 11:48:38 -  1.8
+++ smtp.1  12 Feb 2021 17:30:55 -
@@ -58,7 +58,7 @@ Default to the current username.
 .It Fl H Ar helo
 Define the hostname to advertise (HELO) when establishing the SMTP session.
 .It Fl h
-Display version and usage.
+Display usage.
 .It Fl n
 Do not actually execute a transaction,
 just try to establish an SMTP session and quit.



Re: OpenSMTPD docs: smtp.1

2021-02-13 Thread Jason McIntyre
On Fri, Feb 12, 2021 at 05:35:07PM +, Larry Hynes wrote:
> Note: the command 'smtp -h' only returns usage. Usage exits with '1'
> (I assume this is to satisfy the default case in switch (ch) in
> main()), even when called from the correct use of the '-h' flag,
> which I don't think is correct.
> 
> Index: smtp.1
> ===
> RCS file: /cvs/src/usr.sbin/smtpd/smtp.1,v
> retrieving revision 1.8
> diff -u -p -r1.8 smtp.1
> --- smtp.121 Dec 2020 11:48:38 -  1.8
> +++ smtp.112 Feb 2021 17:30:55 -
> @@ -58,7 +58,7 @@ Default to the current username.
>  .It Fl H Ar helo
>  Define the hostname to advertise (HELO) when establishing the SMTP session.
>  .It Fl h
> -Display version and usage.
> +Display usage.
>  .It Fl n
>  Do not actually execute a transaction,
>  just try to establish an SMTP session and quit.
> 

taken.

i think that's the last of your current diffs - thanks for the
submissions.

jmc