Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Remove pkg --check-activation. It is too tempting to use.
Bryan Drewery committed 11 years ago
commit fa7376fe9ce1973dd2bd4007396d8e4f492455bc
parent 9b88c3a
2 files changed +3 -9
modified docs/pkg.8
@@ -15,7 +15,7 @@
.\"     @(#)pkg.8
.\" $FreeBSD$
.\"
-
.Dd June 16, 2014
+
.Dd August 14, 2014
.Dt PKG 8
.Os
.\" ---------------------------------------------------------------------------
@@ -39,7 +39,7 @@
.Op Cm --version
.Op Cm --debug
.Op Cm --list
-
.Op Cm --check-activationN
+
.Op Fl N
.Op Cm --jail Ao jail name or id Ac | Cm --chroot Ao chroot path Ac
.Op Cm --config Ao configuration file Ac
.Op Cm --repo-conf-dir Ao repository configuration directory Ac
@@ -82,7 +82,7 @@ Set configuration option for
.Nm
from the command line. Options that are set from the environment are
redefined. It is permitted to specify this option multiple times. 
-
.It Fl N , Cm --check-activation
+
.It Fl N
Activation status check mode.
Prevent
.Nm
@@ -107,11 +107,6 @@ The exit status should be a reliable indication of whether a system
is configured to use
.Nm
as its package management system or not.
-
Since
-
.Xr pkg 7
-
does not support long options, it is recommended to always use the short
-
.Fl N
-
form.
.Pp
Example usage:
.Bd -literal -offset indent
modified src/main.c
@@ -669,7 +669,6 @@ main(int argc, char **argv)
		{ "config",		required_argument,	NULL,	'C' },
		{ "repo-conf-dir",	required_argument,	NULL,	'R' },
		{ "list",		no_argument,		NULL,	'l' },
-
		{ "check-activation",	no_argument,		NULL,	'N' },
		{ "version",		no_argument,		NULL,	'v' },
		{ "option",		required_argument,	NULL,	'o' },
		{ NULL,			0,			NULL,	0   },