#compdef sysctl

_arguments \
  '*:file:_files' \
  '-A[Equivalent to o a (for compatibility)]' \
  '-a[List all the currently available values]' \
  '-b[Force the value of the variable(s) to be output in raw, binary format]' \
  '-B[Set the buffer size to read from the sysctl to bufsize]' \
  '-d[Print the description of the variable instead of its value]' \
  '-e[Separate the name and the value of the variable(s) with =]' \
  '-f[Specify a file which contains a pair of name and value in each line]' \
  '-F[Print the format of the variable]' \
  '-h[Format output for human, rather than machine, readability]' \
  '-i[Ignore unknown OIDs]' \
  '-l[Show the length of variables along with their values]' \
  '-N[Show only variable names, not their values]' \
  '-n[Do not show variable names]' \
  '-o[Show opaque variables (which are normally suppressed)]' \
  '-q[Suppress some warnings generated by sysctl to standard error]' \
  '-t[Print the type of the variable]' \
  '-W[Display only writable variables]' \
  '-X[Equivalent to x a (for compatibility)]' \
  '-x[As o, but prints a hex dump of the entire value]'
