#compdef mkgroup

_arguments -C \
  '(-l)--local[print local group information]' \
  '(--local)-l[print local group information]' \
  '(-d)--domain[print global group information from the domain specified (or from the current domain if there is no domain specified)]' \
  '(--domain)-d[print global group information from the domain specified (or from the current domain if there is no domain specified)]' \
  '(-o)--id-offset[offset change the default offset (10000) added to uids in domain accounts]' \
  '(--id-offset)-o[offset change the default offset (10000) added to uids in domain accounts]' \
  '(-s)--no-sids[don\'t print SIDs in pwd field (this affects ntsec)]' \
  '(--no-sids)-s[don\'t print SIDs in pwd field (this affects ntsec)]' \
  '(-u)--users[print user list in gr_mem field]' \
  '(--users)-u[print user list in gr_mem field]' \
  '(-h)--help[print this message]' \
  '(--help)-h[print this message]' \
  '(-v)--version[print version information and exit]' \
  '(--version)-v[print version information and exit]' \
  ':domain:'
