On Sun, Aug 16, 2015 at 11:00:42PM +0100, Larry Hynes wrote: > >From the man page: > The smtpctl program controls smtpd(8). Commands may be abbreviated > to the minimum unambiguous prefix; for example, sh s for show stats. > > What I would expect: > # smtpctl sh s > <stats output> > > What actually happens: > # smtpctl sh s > possibilities are: > show mta > show envelope > show hoststats > show message > show queue > show hosts > show relays > show routes > show stats > show status > > I'm guessing that 'sh s' became ambiguous with the addition of 'smtpctl > show status' in Revision 1.47 in Feb 2014. Or I don't understand what the > man page is trying to convey. > > The following patch replaces 'sh s' with 'sh ro' for 'show routes' > which, as far as I can tell, is unambiguous. >
fixed, thanks. jmc > > Index: smtpctl.8 > =================================================================== > RCS file: /cvs/src/usr.sbin/smtpd/smtpctl.8,v > retrieving revision 1.50 > diff -u -p -r1.50 smtpctl.8 > --- smtpctl.8 27 Jul 2015 18:48:05 -0000 1.50 > +++ smtpctl.8 16 Aug 2015 21:57:48 -0000 > @@ -33,9 +33,9 @@ The > program controls > .Xr smtpd 8 . > Commands may be abbreviated to the minimum unambiguous prefix; for example, > -.Cm sh s > +.Cm sh ro for > -.Cm show stats . > +.Cm show routes . > .Pp > The > .Nm mailq