Wed Jul 15 17:36:38 2020 UTC ()
Do not use "[...]", just "..." is enough.

Conventionally the ellipsis already expresses optional repetition,
e.g. .Ar without arguments produces "file ...".


(uwe)
diff -r1.139 -r1.140 src/usr.bin/ftp/ftp.1

cvs diff -r1.139 -r1.140 src/usr.bin/ftp/ftp.1 (expand / switch to unified diff)

--- src/usr.bin/ftp/ftp.1 2020/07/15 16:41:16 1.139
+++ src/usr.bin/ftp/ftp.1 2020/07/15 17:36:38 1.140
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: ftp.1,v 1.139 2020/07/15 16:41:16 pgoyette Exp $ 1.\" $NetBSD: ftp.1,v 1.140 2020/07/15 17:36:38 uwe Exp $
2.\" 2.\"
3.\" Copyright (c) 1996-2020 The NetBSD Foundation, Inc. 3.\" Copyright (c) 1996-2020 The NetBSD Foundation, Inc.
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" This code is derived from software contributed to The NetBSD Foundation 6.\" This code is derived from software contributed to The NetBSD Foundation
7.\" by Luke Mewburn. 7.\" by Luke Mewburn.
8.\" 8.\"
9.\" Redistribution and use in source and binary forms, with or without 9.\" Redistribution and use in source and binary forms, with or without
10.\" modification, are permitted provided that the following conditions 10.\" modification, are permitted provided that the following conditions
11.\" are met: 11.\" are met:
12.\" 1. Redistributions of source code must retain the above copyright 12.\" 1. Redistributions of source code must retain the above copyright
13.\" notice, this list of conditions and the following disclaimer. 13.\" notice, this list of conditions and the following disclaimer.
14.\" 2. Redistributions in binary form must reproduce the above copyright 14.\" 2. Redistributions in binary form must reproduce the above copyright
@@ -128,32 +128,31 @@ @@ -128,32 +128,31 @@
128.Bk -words 128.Bk -words
129.\" [http://[user[:password]@]host[:port]/path] 129.\" [http://[user[:password]@]host[:port]/path]
130.Sm off 130.Sm off
131.Oo 131.Oo
132.Li http:// 132.Li http://
133.Oo Ar user 133.Oo Ar user
134.Op Li \&: Ar password 134.Op Li \&: Ar password
135.Li \&@ Oc 135.Li \&@ Oc
136.Ar host Oo Li \&: Ar port Oc 136.Ar host Oo Li \&: Ar port Oc
137.Li / Ar path 137.Li / Ar path
138.Oc 138.Oc
139.Sm on 139.Sm on
140.Ek 140.Ek
141.Op Ar \&.\&.\&. 141.Ar \&...
142.Nm 142.Nm
143.Bk -words 143.Bk -words
144.Fl u Ar url Ar file 144.Fl u Ar url Ar
145.Ek 145.Ek
146.Op Ar \&.\&.\&. 
147.Sh DESCRIPTION 146.Sh DESCRIPTION
148.Nm 147.Nm
149is the user interface to the Internet standard File Transfer Protocol. 148is the user interface to the Internet standard File Transfer Protocol.
150The program allows a user to transfer files to and from a 149The program allows a user to transfer files to and from a
151remote network site. 150remote network site.
152.Pp 151.Pp
153The last five arguments will fetch a file using the 152The last five arguments will fetch a file using the
154.Tn FTP 153.Tn FTP
155or 154or
156.Tn HTTP 155.Tn HTTP
157protocols, or by direct copying, into the current directory. 156protocols, or by direct copying, into the current directory.
158This is ideal for scripts. 157This is ideal for scripts.
159Refer to 158Refer to
@@ -273,27 +272,27 @@ as the local IP address for all connecti @@ -273,27 +272,27 @@ as the local IP address for all connecti
273Enables packet tracing. 272Enables packet tracing.
274.It Fl T Ar direction Ns , Ns Ar maximum Ns Oo , Ns Ar increment Oc 273.It Fl T Ar direction Ns , Ns Ar maximum Ns Oo , Ns Ar increment Oc
275Set the maximum transfer rate for 274Set the maximum transfer rate for
276.Ar direction 275.Ar direction
277to 276to
278.Ar maximum 277.Ar maximum
279bytes/second, 278bytes/second,
280and if specified, the increment to 279and if specified, the increment to
281.Ar increment 280.Ar increment
282bytes/second. 281bytes/second.
283Refer to 282Refer to
284.Ic rate 283.Ic rate
285for more information. 284for more information.
286.It Fl u Ar url file Op \&.\&.\&. 285.It Fl u Ar url Ar
287Upload files on the command line to 286Upload files on the command line to
288.Ar url 287.Ar url
289where 288where
290.Ar url 289.Ar url
291is one of the ftp URL types as supported by auto-fetch 290is one of the ftp URL types as supported by auto-fetch
292(with an optional target filename for single file uploads), and 291(with an optional target filename for single file uploads), and
293.Ar file 292.Ar file
294is one or more local files to be uploaded. 293is one or more local files to be uploaded.
295.It Fl V 294.It Fl V
296Disable 295Disable
297.Ic verbose 296.Ic verbose
298and 297and
299.Ic progress , 298.Ic progress ,