From b78afadc51c4c5666114fab26db31e0199c1f50c Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Tue, 22 Jun 2021 08:35:37 +0530 Subject: doc: Specify command inputs in a separate argument. * doc/capture-output-file-with-parameter-reference.scm, doc/capture-output-file.scm, doc/capture-stdout.scm, doc/checksum.scm, doc/decompress-compile-run.scm, doc/hello-world.scm: Specify command inputs in a separate argument. * doc/ccwl.skb (Tutorial)[First example]: Update description of command definition accordingly. --- doc/capture-stdout.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'doc/capture-stdout.scm') diff --git a/doc/capture-stdout.scm b/doc/capture-stdout.scm index 1f26a95..6913809 100644 --- a/doc/capture-stdout.scm +++ b/doc/capture-stdout.scm @@ -1,6 +1,7 @@ (define print - (command #:run "echo" (input 'message #:type 'string) - #:outputs (output 'printed-message #:type 'stdout))) + (command #:inputs (message #:type 'string) + #:run "echo" message + #:outputs (printed-message #:type 'stdout))) (workflow ((message #:type string)) (print #:message message)) -- cgit v1.2.3