about summary refs log tree commit diff
path: root/doc/ccwl.skb
diff options
context:
space:
mode:
authorArun Isaac2025-12-19 19:46:27 +0000
committerArun Isaac2025-12-19 20:16:07 +0000
commit4f757fc0a4d4af067e0d22ad4020c1b18cc3fd24 (patch)
treea85f5f5d041f7c697e17d0c8fbee91258c9f6a7f /doc/ccwl.skb
parent8f3be3ac0a39d9043d09ca3ae415d3f33587ad11 (diff)
downloadccwl-4f757fc0a4d4af067e0d22ad4020c1b18cc3fd24.tar.gz
ccwl-4f757fc0a4d4af067e0d22ad4020c1b18cc3fd24.tar.lz
ccwl-4f757fc0a4d4af067e0d22ad4020c1b18cc3fd24.zip
ccwl: Add #:separate? argument to prefixed arguments. HEAD main
Diffstat (limited to 'doc/ccwl.skb')
-rw-r--r--doc/ccwl.skb10
1 files changed, 9 insertions, 1 deletions
diff --git a/doc/ccwl.skb b/doc/ccwl.skb
index 9001f20..7096711 100644
--- a/doc/ccwl.skb
+++ b/doc/ccwl.skb
@@ -1,5 +1,5 @@
 ;;; ccwl --- Concise Common Workflow Language
-;;; Copyright © 2021, 2023–2024 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2021, 2023–2025 Arun Isaac <arunisaac@systemreboot.net>
 ;;;
 ;;; This file is part of ccwl.
 ;;;
@@ -363,6 +363,14 @@ prefix. For example, in the following example, we associate the input
 ,(code "output_filename") to the prefix ,(code "-o"). Notice the
 parentheses around ,(code "-o output_filename").]
          (scheme-source "doc/prefix-arguments.scm")))
+    (section :title [Unseparated prefix arguments]
+             :ident "section-unseparated-prefix-arguments"
+      (p [Some programs don't like it when you separate arguments from
+their prefixes. You can specify this using the ,(code [#:separate?])
+flag.]
+         (scheme-source "doc/unseparated-prefix-arguments.scm")
+         [This is executed as ,(samp [gcc foo.c -ofoo]), rather than
+as ,(samp [gcc foo.c -o foo]).]))
     (section :title [Array types]
              :ident "section-array-types"
       (p [ccwl supports array types using the following syntax.]