       process.exit(1)
     else
       console.log out
+      process.exit(status)
 
 
 # Fill in the input with convenient niceties / default settings.

        console.error err
        process.exit(1)
      else fetch data
  else if args[0] is "json" then man "precious-json"
  else fetch args[0]
else man "precious"




# Processing of command-line args.  Minimal on purpose.
# Does help with man pages for precious, precious-json.
args = process.argv.splice(2)
if args.length > 0 then switch args[0]

  when '-f', '--file'
    unless args[1]?
      console.error "Usage: precious -f <file>"
      process.exit(1)
    require('fs').readFile "./#{args[1]}", "utf8", (err, data) ->
      if err
