From efa6ee1a07b590925524ab9214a8542b9688e6eb Mon Sep 17 00:00:00 2001 From: Myoungdo Park Date: Tue, 19 Mar 2019 01:41:29 +0900 Subject: [PATCH] fix: change help message of describe/env command --- bin/pm2 | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/bin/pm2 b/bin/pm2 index fc1c216c..b84ab2d7 100755 --- a/bin/pm2 +++ b/bin/pm2 @@ -726,36 +726,36 @@ commander.command('reset ') pm2.reset(proc_id); }); -commander.command('describe ') - .description('describe all parameters of a process id') +commander.command('describe ') + .description('describe all parameters of a process') .action(function(proc_id) { pm2.describe(proc_id); }); -commander.command('desc ') - .description('(alias) describe all parameters of a process id') +commander.command('desc ') + .description('(alias) describe all parameters of a process') .action(function(proc_id) { pm2.describe(proc_id); }); -commander.command('info ') - .description('(alias) describe all parameters of a process id') +commander.command('info ') + .description('(alias) describe all parameters of a process') + .action(function(proc_id) { + pm2.describe(proc_id); + }); + +commander.command('show ') + .description('(alias) describe all parameters of a process') .action(function(proc_id) { pm2.describe(proc_id); }); commander.command('env ') - .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 ') - .description('(alias) describe all parameters of a process id') - .action(function(proc_id) { - pm2.describe(proc_id); - }); - // // List command //