title: Is there a way to know the options of a shell/terminal command/application?
body: <p>What I would like to know is, if there is any way to get the options used by a command or application (having no manual entry.  For example:</p>
  
  <p>For the application <em>ScreenSaverEngine</em>, located in:</p>
  
  <pre><code>/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/
  </code></pre>
  
  <p>has the option <em>-background</em> which allows me to set the current screensaver as a desktop background.</p>
  
  <pre><code>./ScreenSaverEngine -background
  </code></pre>
  
  <p>Now I would like to do other stuff with this application, or at least I would like to know if there is a possibility to do other stuff. So I want to know all the other options of <em>ScreenSaverEngine</em>. I thought maybe some options are coded in the app, so I tried something like</p>
  
  <pre><code>strings ScreenSaverEngine | grep "-"
  </code></pre>
  
  <p>but without results. <em>ScreenSaverEngine</em> doesn't have a manual, so</p>
  
  <pre><code>man ScreenSaverEngine
  </code></pre>
  
  <p>won't help. I'd be happy for any suggestions :-).</p>
  
  <p>(By the way I'm using MAC OS X).</p>