aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2023-11-14 16:31:31 +0000
committerArun Isaac2023-11-14 22:11:10 +0000
commit7a43162925dffeb6cc1a70cfe6297f9ae62427a3 (patch)
tree7c7af0186d4ca9c98268c5e4c81575459e3546ad
parentc4307f5706b84f9d56dc0432b070b5fc81e239c3 (diff)
downloadccwl-7a43162925dffeb6cc1a70cfe6297f9ae62427a3.tar.gz
ccwl-7a43162925dffeb6cc1a70cfe6297f9ae62427a3.tar.lz
ccwl-7a43162925dffeb6cc1a70cfe6297f9ae62427a3.zip
ccwl: Clarify that key->output is meant for workflow outputs only.
* ccwl/ccwl.scm (key->output): Clarify in the docstring that this is meant for workflow outputs only.
-rw-r--r--ccwl/ccwl.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm
index 47b4e5f..4055edb 100644
--- a/ccwl/ccwl.scm
+++ b/ccwl/ccwl.scm
@@ -683,7 +683,9 @@ represented by <step> objects."
(define (key->output key steps)
"Return syntax to construct an <output> object corresponding to KEY,
a <key> object, in STEPS, a list of <step> objects. If no such
-<output> object is found, return #f."
+<output> object is found, return #f. Note that the returned syntax is
+only applicable to construct <output> objects for workflows, not in
+commands."
(and-let* ((step-with-output (find (lambda (step)
(eq? (step-id step)
(key-step key)))