Commit Diff
Diff:
194afdf40bfaa1140b0e0d2cb3b60e825d4146c4
cc1cb2c69b0bcab2e89920aed077f8eb7b17a619
Commit:
cc1cb2c69b0bcab2e89920aed077f8eb7b17a619
Tree:
200dae9d8ac44bfd30a45cfc42dac170708bf51e
Author:
Fred. Galusik <dev1@galusik.xyz>
Committer:
Fred. Galusik <dev1@galusik.xyz>
Date:
Wed Oct 19 18:59:31 2016 UTC
Message:
man page written with txt2tags
blob - /dev/null
blob + f8678fec06cea83f1269e6c3e3c763b0af259d5d (mode 644)
--- /dev/null
+++ snaps.t2t
@@ -0,0 +1,77 @@
+SNAPS
+Frédéric Galusik
+%%mtime(%m/%d/%Y)
+
+%!target: man
+%!encoding: utf-8
+%!outfile: snaps.1
+
+
+= NOM =[nom]
+
+SNAPS - An OpenBSD admin utility to upgrade to last -current base snapshot.
+
+
+= SYNOPSIS =[synopsis]
+
+**snaps** [//options//]
+
+
+= DESCRIPTION =[description]
+
+**snaps** will help you to download the needed **bsd.rd**, check it and move it to
+the right place before rebooting. A backup of your last bsd.rd is made. All
+steps are verbose. It can be run with only the base system. Nevertheless if you
+install //curl// from packages, it will check your //$MIRROR// build date of
+base and packages. You will be able to decide if you want to do the update right now
+or wait for the synchronicity of the two directories.
+
+
+= GENERAL OPTIONS =[general-options]
+
+: **-h**
+Print help and exit. It also print the content of the
+//$MIRROR// variable based upon ///etc/pkg.conf// for a quick look.
+
+: **-g**
+Fetch and check (SHA256 and signify) bsd.rd from //$MIRROR// (no need
+to be root for that one).
+
+: **-G**
+Fetch, check bsd.rd from //$MIRROR// then, move it to the right place,
+backup your last bsd.rd, print some reminders and reboot.
+
+: **-p**
+Update your //-current// port tree.
+
+: **-l**
+List date and download places of the 3 last //-G// from
+/var/log/snaps.log.
+
+: **-u**
+Upgrade snaps to the last release.
+
+
+= COMMAND LINE USAGE =[command-line-usage]
+
+Here are some usage examples:
+
+: **doas MIRROR=http://another/openbsd/mirror snaps -G**
+Bypass your ///etc/pkg.conf// file and manually setup the //$MIRROR//
+variable. Note that you just have to indicate the root of the //$MIRROR//.
+This one have to follow the OpenBSD directory layout.
+
+
+= WEBSITE =[website]
+
+https://framagit.org/fredg/snaps
+
+
+= AUTHOR =[author]
+
+Frédéric Galusik
+
+
+= SEE ALSO =[see-also]
+
+**sysmerge**(8), **pkg_add**(1)
Frédéric Galusik