Skip to content

Commit ea06490

Browse files
committed
make certain cmdline arguments required
1 parent be78797 commit ea06490

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/pm2

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ commander.version(cst.VERSION)
2323
.option('-v --verbose', 'Display all data')
2424
.option('-f --force', 'Force actions')
2525
.option('-i --instances <number>', 'Lunch [number] instances (clustered with same socket)', parseInt)
26-
.option('-o --output [path]', 'Out log file output')
27-
.option('-e --error [path]', 'Error log file output')
28-
.option('-p --pid [pid]', 'Pid file')
26+
.option('-o --output <path>', 'Out log file output')
27+
.option('-e --error <path>', 'Error log file output')
28+
.option('-p --pid <pid>', 'Pid file')
2929
.option('-w --write', 'Write configuration in local folder')
3030
.usage('[cmd] app');
3131

0 commit comments

Comments
 (0)