Index | Thread | Search

From:
Matthew Martin <phy1729@gmail.com>
Subject:
Sort rsync.1 flags
To:
tech@openbsd.org
Date:
Fri, 26 Dec 2025 20:33:20 -0600

Download raw body.

Thread
  • Matthew Martin:

    Sort rsync.1 flags

Sort the flags in rsync.1 and use the idiomatic options introduction
while here.

diff --git rsync.1 rsync.1
index 831f9e87f40..a769d59e397 100644
--- rsync.1
+++ rsync.1
@@ -56,7 +56,8 @@ or the destination
 .Ar directory
 may be remote,
 but not both.
-The arguments are as follows:
+.Pp
+The options are as follows:
 .Bl -tag -width Ds
 .It Fl a , -archive
 Shorthand for
@@ -94,6 +95,8 @@ not found in
 directories.
 Only applicable with
 .Fl r .
+.It Fl -devices
+Also transfer device files.
 .It Fl e Ar program , Fl -rsh Ns = Ns Ar program
 Specify alternative communication program, defaults to
 .Xr ssh 1 .
@@ -107,8 +110,6 @@ and
 .Em rules
 from
 .Em file .
-.It Fl -devices
-Also transfer device files.
 .It Fl g , -group
 Set the group name to match the source.
 For example, group
@@ -211,13 +212,13 @@ on the remote host instead of the default
 Skip files based only on size, don't check timestamp.
 .It Fl -specials
 Also transfer fifo and unix domain socket files.
+.It Fl t , -times
+Set destination file and directory modification time to match the source
+when it is updated or created.
 .It Fl -timeout Ns = Ns Ar seconds
 Set the I/O timeout in seconds.
 Exit if no data was transferred for the specified time.
 The default is 0, which means no timeout.
-.It Fl t , -times
-Set destination file and directory modification time to match the source
-when it is updated or created.
 .It Fl V , -version
 Print version and exit.
 .It Fl v , -verbose