fix: change help message of describe/env command

This commit is contained in:
Myoungdo Park 2019-03-19 01:41:29 +09:00
parent f24990173f
commit efa6ee1a07

26
bin/pm2
View File

@ -726,36 +726,36 @@ commander.command('reset <name|id|all>')
pm2.reset(proc_id);
});
commander.command('describe <id>')
.description('describe all parameters of a process id')
commander.command('describe <name|id>')
.description('describe all parameters of a process')
.action(function(proc_id) {
pm2.describe(proc_id);
});
commander.command('desc <id>')
.description('(alias) describe all parameters of a process id')
commander.command('desc <name|id>')
.description('(alias) describe all parameters of a process')
.action(function(proc_id) {
pm2.describe(proc_id);
});
commander.command('info <id>')
.description('(alias) describe all parameters of a process id')
commander.command('info <name|id>')
.description('(alias) describe all parameters of a process')
.action(function(proc_id) {
pm2.describe(proc_id);
});
commander.command('show <name|id>')
.description('(alias) describe all parameters of a process')
.action(function(proc_id) {
pm2.describe(proc_id);
});
commander.command('env <id>')
.description('(alias) describe all parameters of a process id')
.description('list all environment variables of a process id')
.action(function(proc_id) {
pm2.env(proc_id);
});
commander.command('show <id>')
.description('(alias) describe all parameters of a process id')
.action(function(proc_id) {
pm2.describe(proc_id);
});
//
// List command
//