summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_elfdump
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Unix/Command/_elfdump')
-rw-r--r--Completion/Unix/Command/_elfdump11
1 files changed, 8 insertions, 3 deletions
diff --git a/Completion/Unix/Command/_elfdump b/Completion/Unix/Command/_elfdump
index 065f4b97f..b3cc77695 100644
--- a/Completion/Unix/Command/_elfdump
+++ b/Completion/Unix/Command/_elfdump
@@ -34,10 +34,15 @@ case $OSTYPE in
'-l[show long section names without truncation]'
'-O[specify osabi to apply]:osabi'
'-P[use alternative section header]'
- "*:elf file:_object_files"
)
;;
- freebsd*) args+=( '-a[dump all information]' ) ;;
+ freebsd*)
+ args+=(
+ '-a[dump all information]'
+ '(-)-E[return success if file is an ELF file and failure if not]'
+ )
+ ;;
esac
-_arguments -s $args
+_arguments -s $args \
+ "*:elf file:_object_files"