aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-04-01 23:25:44 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-04-01 23:25:44 -0700
commita74cdefbf7b2b1b0062cb640a398751a5f3180d9 (patch)
tree289ef222ab2f4afe965b9bc5eea6c7fcf63da8f7
parent1cd570185ae1410d3e483d09483223744eadddb2 (diff)
downloadconsfigurator-a74cdefbf7b2b1b0062cb640a398751a5f3180d9.tar.gz
FILE:CONTAINS-LINES: use &REST
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--src/property/file.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/property/file.lisp b/src/property/file.lisp
index 0b61865..fb8d38c 100644
--- a/src/property/file.lisp
+++ b/src/property/file.lisp
@@ -40,7 +40,7 @@ CONTENT can be a list of lines or a single string."
(cons (unlines content))
(string (format nil "~A~&" content)))))))
-(defprop contains-lines :posix (path lines)
+(defprop contains-lines :posix (path &rest lines)
"Ensure there is a file at PATH containing each of LINES once."
(:apply
(with-change-if-changes-file-content (path)