summary refs log tree commit diff
path: root/Completion/Unix/Command/_readelf
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2021-04-19 23:05:49 +0200
committerOliver Kiddle <opk@zsh.org>2021-04-19 23:05:49 +0200
commitd01d0a12899ad73b1072e05e7abcce44ea4273bd (patch)
treeaa32559b8952758ef72d1c0cb57c9e4bba3d0d2b /Completion/Unix/Command/_readelf
parent71b747567e350c5f849897c424ea76fd05b34ffe (diff)
downloadzsh-d01d0a12899ad73b1072e05e7abcce44ea4273bd.tar.gz
zsh-d01d0a12899ad73b1072e05e7abcce44ea4273bd.tar.xz
zsh-d01d0a12899ad73b1072e05e7abcce44ea4273bd.zip
48618: update completions for FreeBSD 13
Diffstat (limited to 'Completion/Unix/Command/_readelf')
-rw-r--r--Completion/Unix/Command/_readelf6
1 files changed, 5 insertions, 1 deletions
diff --git a/Completion/Unix/Command/_readelf b/Completion/Unix/Command/_readelf
index 42094742e..edabc3da1 100644
--- a/Completion/Unix/Command/_readelf
+++ b/Completion/Unix/Command/_readelf
@@ -43,6 +43,11 @@ case $variant in
       '--dyn-syms[show dynamic symbol table]'
     )
   ;|
+  elfutils|elftoolchain)
+    args+=(
+      '(-z --decompress)'{-z,--decompress}'[show compression information; decompress before dumping data]'
+    )
+  ;|
   binutils)
     args+=(
       \*{-R,--relocated-dump=}"[dump contents of specified section as relocated bytes]:section:($sections)"
@@ -60,7 +65,6 @@ case $variant in
       '--elf-section[used specified section as ELF input data]::section'
       '(-e --exception)'{-e,--exception}'[show sections for exception handling]'
       '(-N --numeric-addresses)'{-N,--numeric-addresses}"[don't find symbol names for addresses in DWARF data]"
-      '(-z --decompress)'{-z,--decompress}'[show compression information; decompress before dumping data]'
       '(--symbols)-s[show symbol table]'
       '(-s)--symbols=-[show symbol table]::section:(.dynsym .symtab)'
       '(--notes)-n[show core notes (if present)]'