summaryrefslogtreecommitdiffstats
path: root/Completion/Unix/Command/_xxd
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2026-06-19 01:37:33 +0200
committerOliver Kiddle <opk@zsh.org>2026-06-19 01:37:33 +0200
commita4e9eb4117613307405a71678af24e044c265189 (patch)
treeca1d71317d3319b8753831df61c1941aecd2040a /Completion/Unix/Command/_xxd
parent54801: fix two more warnings from 54710 (diff)
downloadzsh-a4e9eb4117613307405a71678af24e044c265189.tar
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.gz
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.bz2
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.lz
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.xz
zsh-a4e9eb4117613307405a71678af24e044c265189.tar.zst
zsh-a4e9eb4117613307405a71678af24e044c265189.zip
54800, 54807: completion options update
Diffstat (limited to 'Completion/Unix/Command/_xxd')
-rw-r--r--Completion/Unix/Command/_xxd15
1 files changed, 8 insertions, 7 deletions
diff --git a/Completion/Unix/Command/_xxd b/Completion/Unix/Command/_xxd
index e9015a081..f56590915 100644
--- a/Completion/Unix/Command/_xxd
+++ b/Completion/Unix/Command/_xxd
@@ -22,13 +22,14 @@ local arguments
arguments=(
# output options
- '(-b -bits -i -include -p -postscript -plain -ps -r -revert -u -uppercase)'{-b,-bits}'[output in binary digits, rather than hex]'
- '( -E -EBCDIC -i -include -p -postscript -plain -ps -r -revert )'{-E,-EBCDIC}'[print human-readable part in EBCDIC rather than ASCII]'
- '(-i -include -p -postscript -plain -ps -r -revert)-e[little-endian dump]'
- '(-b -bits -E -EBCDIC -i -include -p -postscript -plain -ps -r -revert )'{-i,-include}'[output in C include file style]'
- '(-b -bits -E -EBCDIC -i -include -p -postscript -plain -ps -C -capitalize )'{-p,-postscript,-plain,-ps}'[read or write a plain hexdump (no line numbers or ASCII rendering)]'
+ '(-b -bits -i -include -t -p -postscript -plain -ps -r -revert -u -uppercase)'{-b,-bits}'[output in binary digits, rather than hex]'
+ '(-E -EBCDIC -i -include -t -p -postscript -plain -ps -r -revert)'{-E,-EBCDIC}'[print human-readable part in EBCDIC rather than ASCII]'
+ '(-i -include -t -p -postscript -plain -ps -r -revert)-e[little-endian dump]'
+ '(-E -EBCDIC -i -include -p -postscript -plain -ps -r -revert)'{-i,-include}'[output in C include file style]'
+ '(-E -EBCDIC -p -postscript -plain -ps -r -revert)-t[append terminating zero to C include output]'
+ '(-b -bits -E -EBCDIC -i -include -t -p -postscript -plain -ps -C -capitalize)'{-p,-postscript,-plain,-ps}'[read or write a plain hexdump (no line numbers or ASCII rendering)]'
- '(-b -bits -E -EBCDIC -i -include -r -revert -u -uppercase)'{-r,-revert}'[reverse mode\: read a hex dump and output binary data]'
+ '(-b -bits -E -EBCDIC -i -include -t -r -revert -u -uppercase)'{-r,-revert}'[reverse mode\: read a hex dump and output binary data]'
'(-b -bits -r -revert -u -uppercase)'{-u,-uppercase}'[output upper-case hex digits]'
'(- :)'{-h,-help}'[display usage message]'
@@ -42,7 +43,7 @@ arguments=(
'(-o -offset)'{-o+,-offset}'[add specified offset to displayed file position]:offset'
'-d[show offset in decimal instead of hex]'
'-R+[colorize the output]:when:(always auto never)'
- '(-s -skip -seek)'{-s+,-skip,-seek}'[specify file offset to dump from]: :_guard "(0x|)[0-9a-fA-F]#" "file offset to dump from (absolute or relative)"'
+ '(-s -skip -seek)'{-s+,-skip,-seek}'[specify file offset to dump from]: :_guard "([+-]|)(0x|)[0-9a-fA-F]#" "file offset to dump from (bytes, absolute or +/- relative)"'
': :_files'
)