Skip to content

Commit

Permalink
[doc] Add missing supported columns
Browse files Browse the repository at this point in the history
  • Loading branch information
arliang committed May 29, 2020
1 parent a36330a commit 941bcf0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,12 @@ forever start app.js
clear <key> Clears the specified forever config <key>
logs Lists log files for all forever processes
logs <script|index> Tails the logs for <script|index>
columns add <col> Adds the specified column to the output in `forever list`. Supported columns: 'uid', 'command', 'script', 'forever', 'pid', 'id', 'logfile', 'uptime'
columns add <col> Adds the specified column to the output in `forever list`
columns rm <col> Removed the specified column from the output in `forever list`
columns set <cols> 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:
Expand Down
5 changes: 4 additions & 1 deletion lib/forever/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,13 @@ var help = [
' clear <key> Clears the specified forever config <key>',
' logs Lists log files for all forever processes',
' logs <script|index> Tails the logs for <script|index>',
' columns add <col> Adds the specified column to the output in `forever list`. Supported columns: \'uid\', \'command\', \'script\', \'forever\', \'pid\', \'id\', \'logfile\', \'uptime\'',
' columns add <col> Adds the specified column to the output in `forever list`',
' columns rm <col> Removed the specified column from the output in `forever list`',
' columns set <cols> 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:',
Expand Down

0 comments on commit 941bcf0

Please sign in to comment.