Bug 153416

Summary: [patch] mail(1) -u option not correctly documented
Product: Documentation Reporter: Eitan Adler <eadler>
Component: Books & ArticlesAssignee: Giorgos Keramidas <keramida>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Eitan Adler freebsd_committer freebsd_triage 2010-12-24 00:50:14 UTC
mail -u requires a username but this not documented in the man page
Comment 1 pluknet 2010-12-24 21:14:30 UTC
I think that indeed needs to be committed.
Just for the record: this issue is fixed in OpenBSD and Solaris.

-- 
wbr,
pluknet
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-12-25 17:35:38 UTC
Author: maxim
Date: Sat Dec 25 17:35:30 2010
New Revision: 216698
URL: http://svn.freebsd.org/changeset/base/216698

Log:
  o Fix -u flag description: it takes a username as an argument.
  
  PR:		docs/153416
  Submitted by:	Eitan Adler
  MFC after:	1 week

Modified:
  head/usr.bin/mail/mail.1

Modified: head/usr.bin/mail/mail.1
==============================================================================
--- head/usr.bin/mail/mail.1	Sat Dec 25 11:52:04 2010	(r216697)
+++ head/usr.bin/mail/mail.1	Sat Dec 25 17:35:30 2010	(r216698)
@@ -152,7 +152,7 @@ line in the mail header.
 Overrides the
 .Va record
 variable, if set.
-.It Fl u
+.It Fl u Ar user
 Is equivalent to:
 .Pp
 .Dl "mail -f /var/mail/user"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2010-12-25 17:35:39 UTC
State Changed
From-To: open->patched

Fixed in HEAD.  Thanks for the patch!
Comment 4 dfilter service freebsd_committer freebsd_triage 2011-02-15 07:12:24 UTC
Author: keramida (doc committer)
Date: Tue Feb 15 07:12:16 2011
New Revision: 218697
URL: http://svn.freebsd.org/changeset/base/218697

Log:
  MFC 216698 by maxim from /head
  
  Fix -u flag description: it takes a username as an argument.
  
  PR:             docs/153416
  Submitted by:   Eitan Adler

Modified:
  stable/7/usr.bin/mail/mail.1
Directory Properties:
  stable/7/usr.bin/mail/   (props changed)

Modified: stable/7/usr.bin/mail/mail.1
==============================================================================
--- stable/7/usr.bin/mail/mail.1	Tue Feb 15 06:34:30 2011	(r218696)
+++ stable/7/usr.bin/mail/mail.1	Tue Feb 15 07:12:16 2011	(r218697)
@@ -156,7 +156,7 @@ line in the mail header.
 Overrides the
 .Va record
 variable, if set.
-.It Fl u
+.It Fl u Ar user
 Is equivalent to:
 .Pp
 .Dl "mail -f /var/mail/user"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 5 Giorgos Keramidas freebsd_committer freebsd_triage 2011-02-15 07:12:47 UTC
State Changed
From-To: patched->closed

MFC'ed to /stable/7 and /stable/8 now. 


Comment 6 Giorgos Keramidas freebsd_committer freebsd_triage 2011-02-15 07:12:47 UTC
Responsible Changed
From-To: freebsd-doc->keramida

I'll handle any MFC fallout from this.
Comment 7 dfilter service freebsd_committer freebsd_triage 2011-02-15 07:12:47 UTC
Author: keramida (doc committer)
Date: Tue Feb 15 07:12:41 2011
New Revision: 218698
URL: http://svn.freebsd.org/changeset/base/218698

Log:
  MFC 216698 by maxim from /head
  
  Fix -u flag description: it takes a username as an argument.
  
  PR:             docs/153416
  Submitted by:   Eitan Adler

Modified:
  stable/8/usr.bin/mail/mail.1
Directory Properties:
  stable/8/usr.bin/mail/   (props changed)

Modified: stable/8/usr.bin/mail/mail.1
==============================================================================
--- stable/8/usr.bin/mail/mail.1	Tue Feb 15 07:12:16 2011	(r218697)
+++ stable/8/usr.bin/mail/mail.1	Tue Feb 15 07:12:41 2011	(r218698)
@@ -156,7 +156,7 @@ line in the mail header.
 Overrides the
 .Va record
 variable, if set.
-.It Fl u
+.It Fl u Ar user
 Is equivalent to:
 .Pp
 .Dl "mail -f /var/mail/user"
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"