       # Take them from precious.0 (implement the precious-json "extra").
       process.stdin.resume()
       process.stdin.setEncoding("utf8")
+      output opts, ephemeris.settings
       phase (points process.stdin, ephemeris.settings), process.stdout
 
   else
+    output opts
     console.log "Unknown command '#{opts.command}' has bypassed the options validator..."
     console.log "Nothing to do."
     process.exit(0)


  when "pre"
    ephemeris = new Ephemeris opts.merge
    output ephemeris.settings
    ephemeris.run process.stdout
    # Massaged (Array) ephemeris.settings.out somehow get their "\n" trailing...
    # Extra newlines are not added outside of command-line context, otherwise.

phase     = require "../lib/phase"


output = (opts, settings) ->
  if opts.verbose and settings?.out isnt "json"
    console.log "\noptions:"
    inspect opts.argv
    console.log "command: #{opts.command}"
    if settings?
      console.log "context:"
      inspect settings
    console.log ""
    console.log "RESULTS"
    console.log "======="
