summary refs log tree commit diff
diff options
context:
space:
mode:
authorArun Isaac2021-10-18 00:34:02 +0530
committerArun Isaac2021-10-18 00:36:31 +0530
commit6fa1e2a28e90b3ccd12502d39c67526242f6f175 (patch)
treeb6428c33236db990d7e5bf40be694de85a6116cf
parent2a14921852ae58526c40bc8d2219bbc2e101184f (diff)
downloadccwl-6fa1e2a28e90b3ccd12502d39c67526242f6f175.tar.gz
ccwl-6fa1e2a28e90b3ccd12502d39c67526242f6f175.tar.lz
ccwl-6fa1e2a28e90b3ccd12502d39c67526242f6f175.zip
ccwl: Improve comment describing handling of single input commands.
* ccwl/ccwl.scm (collect-steps): Improve comment describing handling
of single input commands. Mention that it applies only when no inputs
are passed to it.
-rw-r--r--ccwl/ccwl.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/ccwl/ccwl.scm b/ccwl/ccwl.scm
index aca89cd..27012ec 100644
--- a/ccwl/ccwl.scm
+++ b/ccwl/ccwl.scm
@@ -268,8 +268,8 @@ represented by <step> objects."
     ((tee expressions ...)
      (append-mapn (cut collect-steps <> input-keys)
                   #'(expressions ...)))
-    ;; commands with only a single input and when only a single key is
-    ;; available at this step
+    ;; commands with only a single input when only a single key is
+    ;; available at this step and when no inputs are passed to it
     ((command (step-id))
      (and (command-object #'command)
           (= (length input-keys) 1)