summaryrefslogtreecommitdiffstats
path: root/Completion
diff options
context:
space:
mode:
Diffstat (limited to 'Completion')
-rw-r--r--Completion/BSD/Command/_freebsd-update2
-rw-r--r--Completion/Unix/Command/_uniq3
-rw-r--r--Completion/Unix/Type/_diff_options7
3 files changed, 7 insertions, 5 deletions
diff --git a/Completion/BSD/Command/_freebsd-update b/Completion/BSD/Command/_freebsd-update
index d42457272..7dd907298 100644
--- a/Completion/BSD/Command/_freebsd-update
+++ b/Completion/BSD/Command/_freebsd-update
@@ -5,9 +5,11 @@ flags=(
'(cron)fetch[fetch a compressed snapshot or update existing one]'
'(fetch)cron[sleep rand(3600) seconds, and then fetch updates]'
'(install rollback)upgrade[fetch files necessary for upgrading to a new release]'
+ 'updatesready[check if there are fetched updates ready to install]'
'(upgrade rollback)install[install the most recently fetched updates or upgrade]'
'(upgrade install)rollback[uninstall the most recently installed updates]'
'IDS[compare the system against an index of "known good" files]'
+ 'showconfig[show configuration options after parsing conffile and command line options]'
)
_arguments \
diff --git a/Completion/Unix/Command/_uniq b/Completion/Unix/Command/_uniq
index 97f73b3ac..e123a94cd 100644
--- a/Completion/Unix/Command/_uniq
+++ b/Completion/Unix/Command/_uniq
@@ -23,8 +23,9 @@ args=(
if ! _pick_variant gnu=Free\ Soft unix --version; then
local optchars="cdufs"
if [[ "$OSTYPE" == (darwin|dragonfly|freebsd|openbsd)* ]]; then
- optchars="${optchars}i"
+ optchars+=i
fi
+ [[ $OSTYPE = freebsd* ]] && optchars+=D
args=( ${(M)args:#(|\*)(|\(*\))-[$optchars]*} )
fi
diff --git a/Completion/Unix/Type/_diff_options b/Completion/Unix/Type/_diff_options
index 440913dff..dfa9889f2 100644
--- a/