Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Update documentation.
Vsevolod Stakhov committed 11 years ago
commit 06c1d3220707f7849ab2e7eb9b2538708e11476b
parent 3eb182d
2 files changed +10 -4
modified docs/pkg-repo.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd March 30, 2014
+
.Dd June 21, 2014
.Dt PKG-REPO 8
.Os
.Sh NAME
@@ -23,13 +23,15 @@
.Nd creates a package repository catalogue
.Sh SYNOPSIS
.Nm
-
.Op Fl lq
+
.Op Fl lqL
.Op Fl o Ar output-dir
+
.Op Fl m Ar meta-file
.Ao Ar repo-path Ac Op Ao Ar rsa-key Ac | signing_command: Ao Ar the command Ac
.Pp
.Nm
-
.Op Cm --{list-files,quiet}
+
.Op Cm --{list-files,quiet,legacy}
.Op Cm --output-dir Ar output-dir
+
.Op Cm --meta-file Ar meta-file
.Ao Ar repo-path Ac Op Ao Ar rsa-key Ac | signing_command: Ao Ar the command Ac
.Sh DESCRIPTION
.Nm
@@ -123,6 +125,10 @@ The following options are supported by
.Bl -tag -width quiet
.It Fl q , Cm --quiet
Force quiet output
+
.It Fl L , Cm --legacy
+
Create repostory compatible with pkg 1.2
+
.It Fl m Ar meta-file , Cm --meta-file Ar meta-file
+
Use the specified file as repository meta file instead of the default settings.
.It Fl l , Cm --list-files
Generate list of all files in repo as filesite.txz archive.
.It Fl o Ar output-dir , Cm --output-dir Ar output-dir
modified src/repo.c
@@ -80,7 +80,7 @@ exec_repo(int argc, char **argv)
		{ "list-files", no_argument,		NULL,	'l' },
		{ "output-dir", required_argument,	NULL,	'o' },
		{ "quiet",	no_argument,		NULL,	'q' },
-
		{ "meta",	required_argument,	NULL,	'm' },
+
		{ "meta-file",	required_argument,	NULL,	'm' },
		{ "legacy",	no_argument,	NULL,	'L' },
		{ NULL,		0,			NULL,	0   },
	};