aboutsummaryrefslogtreecommitdiff
path: root/contrib/smbfs
diff options
context:
space:
mode:
authorMateusz Piotrowski <0mp@FreeBSD.org>2018-11-14 15:15:07 +0000
committerMateusz Piotrowski <0mp@FreeBSD.org>2018-11-14 15:15:07 +0000
commit830809aea1db4120e6c8f2e9247bc7218f63927d (patch)
tree5225553e1102aac452334da0e6bb88216a9dc089 /contrib/smbfs
parent2e82757c64d83955dedc0b1a3543d9990e2e205b (diff)
downloadsrc-830809aea1db4120e6c8f2e9247bc7218f63927d.tar.gz
src-830809aea1db4120e6c8f2e9247bc7218f63927d.zip
smbutil(1): Improve mdoc formatting.
Also, make the path to the example configuration file absolute. Reviewed by: bcr Approved by: krion (mentor, implicit), mat (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D17985
Notes
Notes: svn path=/head/; revision=340433
Diffstat (limited to 'contrib/smbfs')
-rw-r--r--contrib/smbfs/smbutil/smbutil.126
1 files changed, 13 insertions, 13 deletions
diff --git a/contrib/smbfs/smbutil/smbutil.1 b/contrib/smbfs/smbutil/smbutil.1
index 237db89b6a7b..cf133bad309a 100644
--- a/contrib/smbfs/smbutil/smbutil.1
+++ b/contrib/smbfs/smbutil/smbutil.1
@@ -1,5 +1,5 @@
.\" $Id: smbutil.1,v 1.5 2002/04/16 02:48:16 bp Exp $
-.Dd November 1, 2018
+.Dd November 14, 2018
.Dt SMBUTIL 1
.Os
.Sh NAME
@@ -9,7 +9,7 @@
.Nm
.Op Fl hv
.Ar command
-.Op Fl Ar options
+.Op Ar options
.Op Ar args
.Sh DESCRIPTION
The
@@ -50,8 +50,8 @@ Print usage information about
List active connections and their parameters.
.It Xo
.Cm login
-.Op Fl Ar connection_options
-.No // Ns Ar user Ns @ Ns Ar server Ns Op / Ns Ar share
+.Op Ar connection_options
+.Cm \&// Ns Ar user Ns Cm \&@ Ns Ar server Ns Op Cm \&/ Ns Ar share
.Xc
Login/attach to the specified
.Ar server
@@ -65,13 +65,13 @@ Thus, it is possible to login only once and then
use other SMB commands without authentication procedure and additional
connections.
For the description of
-.Fl Ar connection_options
+.Ar connection_options
refer to the
.Xr mount_smbfs 8
-manpage (all uppercase options are connection options).
+manual page (all uppercase options are connection options).
.It Xo
.Cm logout
-.No // Ns Ar user Ns @ Ns Ar server Ns Op / Ns Ar share
+.Cm \&// Ns Ar user Ns Cm \&@ Ns Ar server Ns Op Cm \&/ Ns Ar share
.Xc
Logout/detach from the specified
.Ar server
@@ -97,8 +97,8 @@ The NetBIOS name server can be directly specified via the
option.
.It Xo
.Cm print
-.Op Fl Ar connection_options
-.No // Ns Ar user Ns @ Ns Ar server Ns / Ns Ar share
+.Op Ar connection_options
+.Cm \&// Ns Ar user Ns Cm \&@ Ns Ar server Ns Op Cm \&/ Ns Ar share
.Ar file
.Xc
Send the given
@@ -107,12 +107,12 @@ to the specified queue on the remote server.
If
.Ar file
is
-.Pa - ,
+.Dq Pa - ,
then standard input will be used.
.It Xo
.Cm view
-.Op Fl Ar connection_options
-.No // Ns Ar user Ns @ Ns Ar server
+.Op Ar connection_options
+.Cm \&// Ns Ar user Ns Cm \&@ Ns Ar server
.Xc
List resources available on the specified
.Ar server
@@ -124,7 +124,7 @@ for the user
.It Pa ~/.nsmbrc
Keeps description for each connection.
See
-.Pa ./examples/dot.nsmbrc
+.Pa /usr/share/examples/smbfs/dot.nsmbrc
for details.
.El
.Sh SEE ALSO