Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Consistency: all command now take --no-scripts
Baptiste Daroussin committed 5 years ago
commit 2594333030d1353a70a9e3cf2e55efe10251ecd3
parent 2842b30
4 files changed +6 -6
modified scripts/completion/_pkg.in
@@ -312,7 +312,7 @@ _pkg_args() {
				'(-n --dry-run -y --yes)'{-y,--yes}'[assume yes when asked for confirmation]' \
				'(-y --yes -n --dry-run)'{-n,--dry-run}'[assume no (dry run) when asked for confirmation]' \
				'(-f --force)'{-f,--force}'[force the package(s) to be removed]' \
-
				'(-D --no-deinstall-script)'{-D,--no-deinstall-script}"[don't execute deinstallation scripts]" \
+
				'(-D --no-scripts)'{-D,--no-scripts}"[don't execute deinstallation scripts]" \
				'(-R --recursive)'{-R,--recursive}'[delete all packages that require the list packages as well]' \
				- '(all)' \
				{-a,--all}'[process all packages]' \
@@ -385,7 +385,7 @@ _pkg_args() {
				'(-A --automatic)'{-A,--automatic}'[mark the installed packages as automatic]' \
				'(-r --repository)'{-r+,--repository=}'[specify the repository to install packages from]:repository:->repositories' \
				'(-U --no-repo-update)'{-U,--no-repo-update}'[suppress the automatic update of the repo catalogue]' \
-
				'(-I --no-install-scripts)'{-I,--no-install-scripts}"[don't execute any pre/post-install scripts]" \
+
				'(-I --no-scripts)'{-I,--no-scripts}"[don't execute any pre/post-install scripts]" \
				'(-M --ignore-missing)'{-M,--ignore-missing}'[ignore missing dependencies]' \
				'(-n --dry-run -y --yes)'{-y,--yes}'[assume yes when asked for confirmation]' \
				'(-y --yes -n --dry-run)'{-n,--dry-run}'[assume no (dry run) when asked for confirmation]' \
@@ -587,7 +587,7 @@ _pkg_args() {
				'(-i --case-insensitive -C --case-sensitive)'{-C,--case-sensitive}'[case sensitive pattern matching]' \
				'(-i --case-insensitive -C --case-sensitive)'{-i,--case-insensitive}'[case insensitive pattern matching]' \
				'(-U --no-repo-update)'{-U,--no-repo-update}'[suppress the automatic update of the repo catalogue]' \
-
				'(-I --no-install-scripts)'{-I,--no-install-scripts}"[don't execute any pre/post-install scripts]" \
+
				'(-I --no-scripts)'{-I,--no-scripts}"[don't execute any pre/post-install scripts]" \
				'(-q --quiet)'{-q,--quiet}'[be quiet]' \
				'(-r --repository)'{-r+,--repository=}'[specify the repository to upgrade from]:repository:->repositories' \
				'(-g --glob -x --regex)'{-g,--glob}'[process packages that match a glob pattern]' \
modified src/delete.c
@@ -63,7 +63,7 @@ exec_delete(int argc, char **argv)
	struct option longopts[] = {
		{ "all",			no_argument,	NULL,	'a' },
		{ "case-sensitive",		no_argument,	NULL,	'C' },
-
		{ "no-deinstall-script",	no_argument,	NULL,	'D' },
+
		{ "no-scripts",			no_argument,	NULL,	'D' },
		{ "force",			no_argument,	NULL,	'f' },
		{ "glob",			no_argument,	NULL,	'g' },
		{ "case-insensitive",		no_argument,	NULL,	'i' },
modified src/install.c
@@ -75,7 +75,7 @@ exec_install(int argc, char **argv)
		{ "fetch-only",		no_argument,		NULL,	'F' },
		{ "glob",		no_argument,		NULL,	'g' },
		{ "case-insensitive",	no_argument,		NULL,	'i' },
-
		{ "no-install-scripts",	no_argument,		NULL,	'I' },
+
		{ "no-scripts",		no_argument,		NULL,	'I' },
		{ "local-only",		no_argument,		NULL,	'l' },
		{ "ignore-missing",	no_argument,		NULL,	'M' },
		{ "dry-run",		no_argument,		NULL,	'n' },
modified src/upgrade.c
@@ -283,7 +283,7 @@ exec_upgrade(int argc, char **argv)
		{ "fetch-only",		no_argument,		NULL,	'F' },
		{ "glob",		no_argument,		NULL,	'g' },
		{ "case-insensitive",	no_argument,		NULL,	'i' },
-
		{ "no-install-scripts",	no_argument,		NULL,	'I' },
+
		{ "no-scripts",		no_argument,		NULL,	'I' },
		{ "dry-run",		no_argument,		NULL,	'n' },
		{ "quiet",		no_argument,		NULL,	'q' },
		{ "repository",		required_argument,	NULL,	'r' },