Merge pull request #6 from pengutronix/fix_deprection_warnings

make default filterregex a raw string
This commit is contained in:
Björn Lässig 2025-11-20 12:33:23 +01:00 committed by GitHub
commit b0aa63e8d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -413,7 +413,7 @@ def main():
help='increase output verbosity (use up to 3 times)')
argp.add_argument('-t', '--timeout', default=10,
help='abort execution after TIMEOUT seconds')
argp.add_argument('-f', '--filter', default='^.*\.service$',
argp.add_argument('-f', '--filter', default=r'^.*.service$',
help='regexp for filtering systemd units')
args = argp.parse_args()
if len(args.units) == 1: