       @b64decode = argv.b
       @inspect = argv.i
       @depth = argv.d
+      @count = argv.c
+      if argv._.length > 1
+        err = new Error "only need one arg -- a path to your object -- which is optional"
+      else if argv._.length is 1
+        @path = argv._[0]
     cb err
 
   read_input : (opts, cb) ->

minimist = require 'minimist'
{make_esc} = require 'iced-error'
iutils = require 'iced-utils'

usage = () ->
  console.error """usage:
    json [-p] [-b] <path.to[4].your.obj>
"""

#==================================================

    @b64decode = false
    @inspect = false
    @depth = 4
    @path = null
    @count = false

  parse_argv : ({argv}, cb) ->
    argv = minimist argv
