code: function buildProcessOptions(processes, logRoot, cmdOptions) {
    return _.flatten(_.map(_.keys(processes), function(procKey) {
      var concurrentCount = parser.parseConcurrencyOpts(cmdOptions)[procKey] || 1;
      var command = processes[procKey];
      return _.map(_.range(concurrentCount), function(index) {
        return {
  	port: cmdOptions.port,
  	app: cmdOptions.app,
  	appName: getProcessName(cmdOptions.app, procKey, index),
  	environmentVar: getEnvOpts(command, cmdOptions),
  	processCommand: command,
  	processName: procKey,
  	logRoot: logRoot,
  	directory: parser.cmdWorkingDir(cmdOptions),
  	user: cmdOptions.user,
  	num: index
        };
      });
    }));
  }
docs: /*
  builds the process options
  
  @param {obj} obj of process key and commands
  @param {string} log root path
  @param {obj} obj of command line options
  @return {array} array of option objects