Skip to content

Commit

Permalink
[minor] updated the help command
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoreed authored and indexzero committed Jun 25, 2011
1 parent 9f4bc5c commit 004f74a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/jitsu/commands/help.js
Expand Up @@ -50,6 +50,7 @@ help.usage = [
' jitsu apps',
' jitsu snapshots',
' jitsu users',
' jitsu databases',
' jitsu conf',
' jitsu logout',
'',
Expand Down Expand Up @@ -103,7 +104,7 @@ help.show = function (name, action) {
// Setup exports for all relevant resources:
// `apps`, `snapshots`, `config`.
//
['apps', 'snapshots', 'users', 'config', 'list', 'deploy', 'create'].forEach(function (resource) {
['apps', 'databases', 'snapshots', 'users', 'config', 'list', 'deploy', 'create'].forEach(function (resource) {
help[resource] = function (action, callback) {
if (!callback) {
callback = action;
Expand All @@ -113,4 +114,4 @@ help.show = function (name, action) {
help.show(resource, action);
callback();
};
});
});

0 comments on commit 004f74a

Please sign in to comment.