Added a command-line option to control the number of workers.

This commit is contained in:
Andrew Hamilton 2016-01-31 23:19:28 +00:00
parent 4f5867adae
commit 44949c6cf9
3 changed files with 31 additions and 14 deletions

View file

@ -20,8 +20,10 @@
│ # vigil my_project │
│ │
│Options: │
│ -h --help Show this screen and exit. │
│ -n --no-sandbox Don't prevent changes to the filesystem. │
│ -h --help Show this screen and exit. │
│ -n --no-sandbox Don't prevent changes to the filesystem. │
│ -w COUNT --workers=COUNT The number of processes working in parallel. │
│ By default it is twice the number of cpus. │
│ │
│Keys: │
h - Show the help screen. (toggle) │
@ -33,7 +35,7 @@
n - Move to the next issue. │
N - Move to the next issue of the current tool. │
o - Order files by type, or by directory location. (toggle) │
p - Pause work. (toggle)
p - Pause workers. (toggle) │
s - Change the appearance of result statuses. (toggle) │
q - Quit. │
│ │
@ -55,6 +57,4 @@
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────┘