complete -c chmod -l reference -d 'chmod-help-reference' -r -F
complete -c chmod -l help -d 'chmod-help-print-help'
complete -c chmod -s c -l changes -d 'chmod-help-changes'
complete -c chmod -s f -l quiet -l silent -d 'chmod-help-quiet'
complete -c chmod -s v -l verbose -d 'chmod-help-verbose'
complete -c chmod -l no-preserve-root -d 'chmod-help-no-preserve-root'
complete -c chmod -l preserve-root -d 'chmod-help-preserve-root'
complete -c chmod -s R -l recursive -d 'chmod-help-recursive'
complete -c chmod -s H -d 'if a command line argument is a symbolic link to a directory, traverse it'
complete -c chmod -s L -d 'traverse every symbolic link to a directory encountered'
complete -c chmod -s P -d 'do not traverse any symbolic links (default)'
complete -c chmod -l dereference -d 'affect the referent of each symbolic link (this is the default), rather than the symbolic link itself'
complete -c chmod -s h -l no-dereference -d 'affect symbolic links instead of any referenced file (useful only on systems that can change the ownership of a symlink)'
complete -c chmod -s V -l version -d 'Print version'
