Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/dvsim/cli/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
from dvsim.launcher.sge import SgeLauncher
from dvsim.launcher.slurm import SlurmLauncher
from dvsim.logging import LOG_LEVELS, configure_logging, log
from dvsim.runtime.backend import RuntimeBackend
from dvsim.runtime.registry import BackendType, backend_registry
from dvsim.scheduler.async_status_printer import StatusPrinter
from dvsim.scheduler.async_status_printer import get_status_printer as get_async_status_printer
Expand Down Expand Up @@ -451,7 +452,7 @@ def parse_args(argv: list[str] | None = None):
help=(
"When tests are run, older runs are backed "
"up. Discard all but the N most recent (defaults "
"to 5)."
"to %(default)d)."
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow! I didn't know about the way that help supports %-formatting. How neat!

),
)

Expand Down Expand Up @@ -933,6 +934,7 @@ def main(argv: list[str] | None = None) -> None:
LsfLauncher.max_parallel = args.max_parallel
NcLauncher.max_parallel = args.max_parallel
Launcher.max_odirs = args.max_odirs
RuntimeBackend.max_output_dirs = args.max_odirs
FakeLauncher.max_parallel = args.max_parallel
set_launcher_type(is_local=args.local, fake=args.fake)

Expand Down
Loading