From 5b567eace82276ae4d83758b1c24c4ee76750230 Mon Sep 17 00:00:00 2001 From: olzhasar Date: Sun, 28 Jan 2024 22:22:17 +0800 Subject: [PATCH] Fix help typos --- pytest_watcher/watcher.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pytest_watcher/watcher.py b/pytest_watcher/watcher.py index bdb4dad..d5746f0 100644 --- a/pytest_watcher/watcher.py +++ b/pytest_watcher/watcher.py @@ -106,13 +106,13 @@ def _parse_patterns(arg: str): parser.add_argument( "--clear", action="store_true", - help="Clear the terminal screen after each test run", + help="Clear the terminal screen before test run", ) parser.add_argument( "--delay", type=float, required=False, - help="The delay (in seconds) before triggering" + help="The delay (in seconds) before triggering " f"the test run (default: {DEFAULT_DELAY})", ) parser.add_argument( @@ -125,14 +125,14 @@ def _parse_patterns(arg: str): "--patterns", type=_parse_patterns, required=False, - help="File patterns to watch, specified as comma-separated" + help="File patterns to watch, specified as comma-separated " "Unix-style patterns (default: '*.py')", ) parser.add_argument( "--ignore-patterns", type=_parse_patterns, required=False, - help="File patterns to ignore, specified as comma-separated" + help="File patterns to ignore, specified as comma-separated " "Unix-style patterns (default: '')", ) parser.add_argument("--version", action="version", version=VERSION)