Skip to content

Commit

Permalink
[fix] Print help on just forever
Browse files Browse the repository at this point in the history
  • Loading branch information
indexzero committed Jan 5, 2012
1 parent 0d5e893 commit 4e25765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ cli.start = function () {
}

app.init(function () {
if (actions.indexOf(app.argv._[0]) === -1) {
if (app.argv._.length && actions.indexOf(app.argv._[0]) === -1) {
return cli.run();
}

Expand Down

0 comments on commit 4e25765

Please sign in to comment.