#compdef cygpath

_arguments -C \
  '(-d)--dos[print DOS (short) form of NAME (C:\PROGRA~1\)]' \
  '(--dos)-d[print DOS (short) form of NAME (C:\PROGRA~1\)]' \
  '(-m)--mixed[like --windows, but with regular slashes (C:/WINNT)]' \
  '(--mixed)-m[like --windows, but with regular slashes (C:/WINNT)]' \
  '(-u)--unix[(default) print Unix form of NAME (/cygdrive/c/winnt)]' \
  '(--unix)-u[(default) print Unix form of NAME (/cygdrive/c/winnt)]' \
  '(-w)--windows[print Windows form of NAME (C:\WINNT)]' \
  '(--windows)-w[print Windows form of NAME (C:\WINNT)]' \
  '(-t)--type[TYPE print TYPE form: \'dos\', \'mixed\', \'unix\', or \'windows\']' \
  '(--type)-t[TYPE print TYPE form: \'dos\', \'mixed\', \'unix\', or \'windows\']' \
  '(-a)--absolute[output absolute path]' \
  '(--absolute)-a[output absolute path]' \
  '(-l)--long-name[print Windows long form of NAME (with -w, -m only)]' \
  '(--long-name)-l[print Windows long form of NAME (with -w, -m only)]' \
  '(-p)--path[NAME is a PATH list (i.e., \'/bin:/usr/bin\')]' \
  '(--path)-p[NAME is a PATH list (i.e., \'/bin:/usr/bin\')]' \
  '(-s)--short-name[print DOS (short) form of NAME (with -w, -m only)]' \
  '(--short-name)-s[print DOS (short) form of NAME (with -w, -m only)]' \
  '(-A)--allusers[use `All Users\' instead of current user for -D, -P]' \
  '(--allusers)-A[use `All Users\' instead of current user for -D, -P]' \
  '(-D)--desktop[output `Desktop\' directory and exit]' \
  '(--desktop)-D[output `Desktop\' directory and exit]' \
  '(-H)--homeroot[output `Profiles\' directory (home root) and exit]' \
  '(--homeroot)-H[output `Profiles\' directory (home root) and exit]' \
  '(-P)--smprograms[output Start Menu `Programs\' directory and exit]' \
  '(--smprograms)-P[output Start Menu `Programs\' directory and exit]' \
  '(-S)--sysdir[output system directory and exit]' \
  '(--sysdir)-S[output system directory and exit]' \
  '(-W)--windir[output `Windows\' directory and exit]' \
  '(--windir)-W[output `Windows\' directory and exit'
