mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
fix: change help message of describe/env command
This commit is contained in:
parent
f24990173f
commit
efa6ee1a07
26
bin/pm2
26
bin/pm2
@ -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
|
||||
//
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user