From: ethan@ongstad.net Subject: fix openrsync(1) manpage examples To: tech@openbsd.org Date: Fri, 15 Nov 2024 18:59:08 -0800 Fixes the path of openrsync in the examples. An alternative approach would be to tell the user to run ln -s /usr/bin/openrsync /usr/local/bin/rsync. Also changed prompt to "$" as that is what is used in cp(1) and other manpage examples. diff --git usr.bin/rsync/rsync.1 usr.bin/rsync/rsync.1 index 831f9e87f40..b65cf8d971e 100644 --- usr.bin/rsync/rsync.1 +++ usr.bin/rsync/rsync.1 @@ -303,7 +303,7 @@ with the local and .Pa ../src/baz : .Pp -.Dl % rsync -t ../src/bar ../src/baz host:dest +.Dl $ openrsync --rsync-path=openrsync -t ../src/bar ../src/baz host:dest .Pp To update the out-of-date local files .Pa bar @@ -314,7 +314,7 @@ with the remote files and .Pa host:src/baz : .Pp -.Dl % rsync -t host:src/bar :src/baz \&. +.Dl $ openrsync --rsync-path=openrsync -t host:src/bar :src/baz \&. .Pp To update the out-of-date local files .Pa ../dest/bar @@ -325,7 +325,7 @@ with and .Pa baz : .Pp -.Dl % rsync -t bar baz ../dest +.Dl $ openrsync --rsync-path=openrsync -t bar baz ../dest .\" .Sh DIAGNOSTICS .Sh SEE ALSO .Xr ssh 1