Download raw body.
fix openrsync(1) manpage examples
On Fri, Nov 15, 2024 at 06:59:08PM -0800, ethan@ongstad.net wrote: > 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 > Diffs like this have come up before and were rejected. I think nothing changed since then. -- :wq Claudio
fix openrsync(1) manpage examples