diff --git a/CHANGES.md b/CHANGES.md index 7ab7ec89ca6..e9de89df924 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -71,6 +71,13 @@ from multi-line `script` items in task definitions, for cleaner job scripts. ### Fixes +[#2666](https://github.com/cylc/cylc/pull/2666) - `cylc scan`: fix default +behavior to only obtain suite information from the `~/cylc-run/` of the current +user. This is consistent with `cylc gscan`. However, the `--name=PATTERN` +(`-n PATTERN`) option has also been modified to be consistent with +`cylc gscan`, so `cylc scan --name=bar` will only match the suite `bar` but not +the suites `foobar` and `barbaz`. + [#2593](https://github.com/cylc/cylc/pull/2593) - fix polling after job execution timeout (configured pre-poll delays were being ignored). diff --git a/lib/cylc/daemonize.py b/lib/cylc/daemonize.py index 279798b44b4..b2418a54328 100644 --- a/lib/cylc/daemonize.py +++ b/lib/cylc/daemonize.py @@ -30,7 +30,7 @@ $ cylc get-suite-contact %(suite)s Other ways to see if the suite is still running: - $ cylc scan -n '\b%(suite)s\b' %(host)s + $ cylc scan -n '%(suite)s' %(host)s $ cylc ping -v --host=%(host)s %(suite)s $ ps %(ps_opts)s %(pid)s # on %(host)s