From ad3da461300de311cd2bed90cee60c05587e0015 Mon Sep 17 00:00:00 2001 From: Andy Kipp Date: Wed, 5 Jun 2024 15:26:27 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 156c3e3..99e8821 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ You can set your own presets: ```xsh $XONTRIB_PIPELINER_PRESETS = { "upper": "line.upper()", - "repeat": lambda args: f"line*int({repr(args[0])})" + "repeat": lambda line, num, args: line * int(args[0]) } echo 'hello' | pl upper