Permalink
Browse files

set process title for easier debugging

  • Loading branch information...
mafintosh committed Jan 29, 2016
1 parent e9065f9 commit bb028a4233fed8dca7876746e7b95baee1daf08c
Showing with 2 additions and 0 deletions.
  1. +2 −0 cli.js
View
2 cli.js
@@ -1,6 +1,8 @@
#!/usr/bin/env node
var args = require('minimist')(process.argv.splice(2))
process.title = 'dat'
// set debug before requiring other modules
if (args.debug) {
var debug = args.debug

0 comments on commit bb028a4

Please sign in to comment.