From 775c9076c7a8a96283795290b01dbc29dccfbbfe Mon Sep 17 00:00:00 2001 From: Edward Tomasz Napierala Date: Sun, 1 Jul 2018 16:18:38 +0000 Subject: [PATCH] Add basic examples to portsnap(8). MFC after: 2 weeks --- usr.sbin/portsnap/portsnap/portsnap.8 | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/usr.sbin/portsnap/portsnap/portsnap.8 b/usr.sbin/portsnap/portsnap/portsnap.8 index 15f3d1becdcf..6357fe0f9e8b 100644 --- a/usr.sbin/portsnap/portsnap/portsnap.8 +++ b/usr.sbin/portsnap/portsnap/portsnap.8 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 1, 2016 +.Dd July 1, 2018 .Dt PORTSNAP 8 .Os FreeBSD .Sh NAME @@ -268,6 +268,15 @@ Default location where compressed snapshots are stored. .It Pa /usr/ports Default location where the ports tree is extracted. .El +.Sh EXAMPLES +Fetch the snapshots and create the +.Xr ports 7 +tree under +.Pa /usr/ports : +.Dl Nm Ar fetch Ar extract +.Pp +Update the ports tree: +.Dl Nm Ar fetch Ar update .Sh SEE ALSO .Xr fetch 1 , .Xr sha256 1 ,