add mddiagnose completion

This commit is contained in:
Fabian Weisshaar 2016-11-05 21:22:54 +01:00 committed by Aaron Gyes
parent 87c51f2c10
commit 848495d4cf

View File

@ -0,0 +1,12 @@
# completion for mddiagnose (macOS)
complete -c mddiagnose -s h -f -d 'Display help'
complete -c mddiagnose -s d -f -d 'Ignore unknown options'
complete -c mddiagnose -s n -f -d 'Do not reveal the resulting package in the Finder'
complete -c mddiagnose -s r -f -d 'Avoid restricted operations such as heap'
complete -c mddiagnose -s s -f -d 'Skip gathering system.log'
complete -c mddiagnose -s v -f -d 'Prints version of mddiagnose'
complete -c mddiagnose -s m -f -d 'Minimal report'
complete -c mddiagnose -s e -r -d 'Evalute indexing information for path'
complete -c mddiagnose -s p -r -d 'Evalute permissions information for path'
complete -c mddiagnose -s f -r -d 'Write the diagnostic to the specified path'