diff options
author | 2016-11-08 14:16:01 -0500 | |
---|---|---|
committer | 2016-11-08 19:43:00 +0000 | |
commit | 08c896378ee2090f27d6ea782839701679dc68df (patch) | |
tree | 4b93c7b19ac66bff4732d90a00a8912681299193 /tools/flags | |
parent | 4b254b9b9559f4a30abf832513c59410b896d50e (diff) |
Add -j as alias for --threads.
I keep typing this...
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4553
Change-Id: Ib3e387054810cebae468addc001a1e148e5af155
Reviewed-on: https://skia-review.googlesource.com/4553
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tools/flags')
-rw-r--r-- | tools/flags/SkCommonFlags.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/flags/SkCommonFlags.cpp b/tools/flags/SkCommonFlags.cpp index d0cdf315df..a0aa94bdc0 100644 --- a/tools/flags/SkCommonFlags.cpp +++ b/tools/flags/SkCommonFlags.cpp @@ -50,8 +50,8 @@ DEFINE_string(skps, "skps", "Directory to read skps from."); DEFINE_string(svgs, "", "Directory to read SVGs from, or a single SVG file."); -DEFINE_int32(threads, -1, "Run threadsafe tests on a threadpool with this many extra threads, " - "defaulting to one extra thread per core."); +DEFINE_int32_2(threads, j, -1, "Run threadsafe tests on a threadpool with this many extra threads, " + "defaulting to one extra thread per core."); DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); |