#compdef hexyl

# zsh completions for 'hexyl'
local arguments

arguments=(
  {-n,--length}'[only read N bytes from the input. The N argument can also]'
  {-c,--bytes}'[an alias for -n/--length]'
  {-s,--skip}'[skip the first N bytes of the input. The N argument can]'
  '--block-size[sets the size of the `block` unit to SIZE.]'
  {-v,--no-squeezing}'[displays all input data. Otherwise any number of groups of]'
  '--color[when to use colors. The auto-mode only displays colors if]'
  '--border[whether to draw a border with Unicode characters, ASCII]'
  {-p,--plain}'[display output with --no-characters, --no-position, --border=none, and --color=never]'
  '--no-characters[do not show the character panel on the right]'
  {-C,--characters}'[show the character panel on the right. this is default]'
  '--character-table[defines how bytes are mapped to characters]'
  {-P,--no-position}'[whether to display the position panel on the left]'
  {-o,--display-offset}'[add N bytes to the displayed file position. The N argument]'
  '--panels[sets the number of hex data panels to be displayed]'
  {-g,--group-size}'[number of bytes/octets that should be grouped together. default: 1]'
  '--endianness[whether to print out groups in little-endian or big-endian format. default: big]'
  {-b,--base}'[sets the base used for the bytes. default: hexadecimal]'
  '--terminal-width[sets the number of terminal columns to be displayed]'
  {-h,--help}'[prints help information]'
  {-V,--version}'[prints version information]'
  '*:filename:_files'
)

_arguments -s $arguments
