Skip to content

Commit ab7936c

Browse files
committed
[doc] Add missing supported columns
1 parent a36330a commit ab7936c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,12 @@ forever start app.js
5252
clear <key> Clears the specified forever config <key>
5353
logs Lists log files for all forever processes
5454
logs <script|index> Tails the logs for <script|index>
55-
columns add <col> Adds the specified column to the output in `forever list`. Supported columns: 'uid', 'command', 'script', 'forever', 'pid', 'id', 'logfile', 'uptime'
55+
columns add <col> Adds the specified column to the output in `forever list`
5656
columns rm <col> Removed the specified column from the output in `forever list`
5757
columns set <cols> Set all columns for the output in `forever list`
58+
Default columns: `uid`, `command`, `script`, `forever`, `pid`,
59+
`logfile`, `uptime`
60+
Other supported columns: `id`, `dir`
5861
cleanlogs [CAREFUL] Deletes all historical forever log files
5962
6063
options:

lib/forever/cli.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ var help = [
3737
' clear <key> Clears the specified forever config <key>',
3838
' logs Lists log files for all forever processes',
3939
' logs <script|index> Tails the logs for <script|index>',
40-
' columns add <col> Adds the specified column to the output in `forever list`. Supported columns: \'uid\', \'command\', \'script\', \'forever\', \'pid\', \'id\', \'logfile\', \'uptime\'',
40+
' columns add <col> Adds the specified column to the output in `forever list`',
4141
' columns rm <col> Removed the specified column from the output in `forever list`',
4242
' columns set <cols> Set all columns for the output in `forever list`',
4343
' columns reset Resets all columns to defaults for the output in `forever list`',
44+
' Default columns: `uid`, `command`, `script`, `forever`,',
45+
' `pid`, `logfile`, `uptime`',
46+
' Other supported columns: `id`, `dir`',
4447
' cleanlogs [CAREFUL] Deletes all historical forever log files',
4548
'',
4649
'options:',

0 commit comments

Comments
 (0)