From 941bcf0098135e93fa35442a7df91f03bd4aa668 Mon Sep 17 00:00:00 2001 From: Arliang Date: Fri, 26 Jul 2019 12:01:36 +0800 Subject: [PATCH] [doc] Add missing supported columns --- README.md | 5 ++++- lib/forever/cli.js | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 202e1dbf..a5962445 100644 --- a/README.md +++ b/README.md @@ -52,9 +52,12 @@ forever start app.js clear Clears the specified forever config logs Lists log files for all forever processes logs Tails the logs for - columns add Adds the specified column to the output in `forever list`. Supported columns: 'uid', 'command', 'script', 'forever', 'pid', 'id', 'logfile', 'uptime' + columns add Adds the specified column to the output in `forever list` columns rm Removed the specified column from the output in `forever list` columns set Set all columns for the output in `forever list` + Default columns: `uid`, `command`, `script`, `forever`, `pid`, + `logfile`, `uptime` + Other supported columns: `id`, `dir` cleanlogs [CAREFUL] Deletes all historical forever log files options: diff --git a/lib/forever/cli.js b/lib/forever/cli.js index 34a5e6cf..bcb578b0 100644 --- a/lib/forever/cli.js +++ b/lib/forever/cli.js @@ -37,10 +37,13 @@ var help = [ ' clear Clears the specified forever config ', ' logs Lists log files for all forever processes', ' logs Tails the logs for ', - ' columns add Adds the specified column to the output in `forever list`. Supported columns: \'uid\', \'command\', \'script\', \'forever\', \'pid\', \'id\', \'logfile\', \'uptime\'', + ' columns add Adds the specified column to the output in `forever list`', ' columns rm Removed the specified column from the output in `forever list`', ' columns set Set all columns for the output in `forever list`', ' columns reset Resets all columns to defaults for the output in `forever list`', + ' Default columns: `uid`, `command`, `script`, `forever`, `pid`,', + ' `logfile`, `uptime`', + ' Other supported columns: `id`, `dir`', ' cleanlogs [CAREFUL] Deletes all historical forever log files', '', 'options:',