diff options
Diffstat (limited to 'subcmds/status.py')
-rw-r--r-- | subcmds/status.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/subcmds/status.py b/subcmds/status.py index e293d75c..f0f2e034 100644 --- a/subcmds/status.py +++ b/subcmds/status.py | |||
@@ -17,7 +17,7 @@ import glob | |||
17 | import multiprocessing | 17 | import multiprocessing |
18 | import os | 18 | import os |
19 | 19 | ||
20 | from command import PagedCommand | 20 | from command import DEFAULT_LOCAL_JOBS, PagedCommand |
21 | 21 | ||
22 | from color import Coloring | 22 | from color import Coloring |
23 | import platform_utils | 23 | import platform_utils |
@@ -76,11 +76,10 @@ the following meanings: | |||
76 | d: deleted ( in index, not in work tree ) | 76 | d: deleted ( in index, not in work tree ) |
77 | 77 | ||
78 | """ | 78 | """ |
79 | PARALLEL_JOBS = DEFAULT_LOCAL_JOBS | ||
79 | 80 | ||
80 | def _Options(self, p): | 81 | def _Options(self, p): |
81 | p.add_option('-j', '--jobs', | 82 | super()._Options(p) |
82 | dest='jobs', action='store', type='int', default=2, | ||
83 | help="number of projects to check simultaneously") | ||
84 | p.add_option('-o', '--orphans', | 83 | p.add_option('-o', '--orphans', |
85 | dest='orphans', action='store_true', | 84 | dest='orphans', action='store_true', |
86 | help="include objects in working directory outside of repo projects") | 85 | help="include objects in working directory outside of repo projects") |