How to find arguments to an application on macOS X?

Solution 1:

Argument handling is part of the application code so there is no easy way to find these options from the outside. Besides searching on the Internet you can run

strings ANY-BINARY | grep '^--'

to search for them within an application. If you do so you will need to look both in .../MacOS/* and in any frameworks included in .../Frameworks.