check if argument specified

```
$ node index.js
npmd
  install, resolve, ls, tree, help
undefined
```

after this commit
result for `$ node index.js`

```
npmd
  install, resolve, ls, tree, help
```