Document the "-U" option. While it is not part of the

getopt(), it is accepted through smb_ctx_init() in
lib/smb/ctx.c.

PR:		117013
Submitted by:	Tom Evans <tevans.uk@googlemail.com> (original version)
This commit is contained in:
Tom Rhodes 2009-01-22 08:29:39 +00:00
parent 21ca178ece
commit 377e63ad8f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187583
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,6 @@
.\" $Id: mount_smbfs.8,v 1.10 2002/04/16 02:47:41 bp Exp $
.\" $FreeBSD$
.Dd March 10, 2000
.Dd January 21, 2008
.Dt MOUNT_SMBFS 8
.Os
.Sh NAME
@ -16,6 +16,7 @@
.Op Fl O Ar cowner : Ns Ar cgroup Ns / Ns Ar sowner : Ns Ar sgroup
.Op Fl R Ar retrycount
.Op Fl T Ar timeout
.Op Fl U Ar username
.Op Fl W Ar workgroup
.Op Fl c Ar case
.Op Fl d Ar mode
@ -77,6 +78,8 @@ Default is 4.
.It Fl T Ar timeout
Timeout in seconds for each request.
Default is 15.
.It Fl U Ar username
Username to authenticate with.
.It Fl W Ar workgroup
This option specifies the workgroup to be used in the authentication request.
.It Fl c Ar case

View File

@ -295,7 +295,7 @@ usage(void)
"usage: mount_smbfs [-E cs1:cs2] [-I host] [-L locale] [-M crights:srights]",
" [-N] [-O cowner:cgroup/sowner:sgroup] [-R retrycount]",
" [-T timeout] [-W workgroup] [-c case] [-d mode] [-f mode]",
" [-g gid] [-n opt] [-u uid] //user@server/share node");
" [-g gid] [-n opt] [-u uid] [-U username] //user@server/share node");
exit (1);
}