Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
- Fix some backwards autocompletion
Brad Davis committed 12 years ago
commit 05c23606f7d4d1be358e8a905fc99ce4cdabb8e8
parent 564df0a
1 file changed +6 -6
modified scripts/completion/_pkg.zsh.in
@@ -84,8 +84,8 @@ _pkg() {
			;;
		(autoremove)
			_arguments -s \
-
				'(-y)-n[Assume yes when asked for confirmation]' \
-
				'(-n)-y[Assume no (dry run) for confirmations]' \
+
				'(-n)-y[Assume yes when asked for confirmation]' \
+
				'(-y)-n[Assume no (dry run) for confirmations]' \
				&& return 0
			;;
		(backup)
@@ -130,8 +130,8 @@ _pkg() {
			;;
		(delete|remove)
			_arguments -s \
-
				'(-y)-n[Assume yes when asked for confirmation]' \
-
				'(-n)-y[Assume no (dry run) for confirmations]' \
+
				'(-n)-y[Assume yes when asked for confirmation]' \
+
				'(-y)-n[Assume no (dry run) for confirmations]' \
				'-f[Forces packages to be removed]' \
				'(-g -x -X)-a[Process all packages]' \
				'(-x -X -a)-g[Process packages that matches glob]:glob pattern:' \
@@ -178,8 +178,8 @@ _pkg() {
			;;
		(install)
			_arguments -s \
-
				'(-y)-n[Assume yes when asked for confirmation]' \
-
				'(-n)-y[Assume no (dry run) for confirmations]' \
+
				'(-n)-y[Assume yes when asked for confirmation]' \
+
				'(-y)-n[Assume no (dry run) for confirmations]' \
				'-f[Force reinstallation if needed]' \
				'-R[Reinstall every package depending on matching expressions]' \
				'-L[Do not try to update the repository metadata]' \