#compdef gstat

_arguments -s : \
  '-a[only display providers that are at least 0.1% busy]' \
  '(-B)-b[batch mode]' \
  '(-b)-B[endless batch mode]' \
  '-c[enable the display geom(4) consumers]' \
  '(-b -B)-C[CSV output mode]' \
  '-d[enable the display delete operations]' \
  '-f+[filter by regex]:regex' \
  '-o[enable the display for other operations]' \
  "-s[enable blocks' size statistics]" \
  '-I+[display refresh rate]:interval (ms)' \
  '-p[only display physical providers]'
