diff options
author | Simon Glass <sjg@chromium.org> | 2025-04-29 07:22:25 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2025-05-27 10:07:41 +0100 |
commit | 52aef33f953b5864dc015448783ecd2d9415e52f (patch) | |
tree | fe7addbea78bcf3e6f74c406e08d4548b7938062 /tools/patman/cmdline.py | |
parent | 45f4f6219182927c34d2dc0359f4bf044d3ed432 (diff) |
patman: Provide an option to run in single-threaded mode
Patman normally sends multiple concurrent requests to the patchwork
server, as this is faster. Provide an option to disable this.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/patman/cmdline.py')
-rw-r--r-- | tools/patman/cmdline.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/patman/cmdline.py b/tools/patman/cmdline.py index a7327a20665..cf32716b8e0 100644 --- a/tools/patman/cmdline.py +++ b/tools/patman/cmdline.py @@ -130,6 +130,8 @@ def parse_args(): help='Name of branch to create with collected responses') status.add_argument('-f', '--force', action='store_true', help='Force overwriting an existing branch') + status.add_argument('-T', '--single-thread', action='store_true', + help='Disable multithreading when reading patchwork') # Parse options twice: first to get the project and second to handle # defaults properly (which depends on project) |