aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorArun Isaac2021-10-31 21:52:43 +0530
committerArun Isaac2021-11-02 01:31:37 +0530
commitde4f458df3e58408e1af2375d0f3b3f86b350a73 (patch)
tree8e63d162a10e16cfafc17f7eae1dc3942c1d5942 /scripts
parent43db9a23ee3b0294180eb50eb78d38cd387eb72c (diff)
downloadccwl-de4f458df3e58408e1af2375d0f3b3f86b350a73.tar.gz
ccwl-de4f458df3e58408e1af2375d0f3b3f86b350a73.tar.lz
ccwl-de4f458df3e58408e1af2375d0f3b3f86b350a73.zip
ccwl: Rename graphviz to dot.
What we call "graphviz syntax" is actually the "graphviz dot language". Rename accordingly. * ccwl/graphviz.scm (workflow->graphviz): Rename to workflow->dot. Call graph->dot instead of graph->graphviz. (escape-id): Update docstring to mention dot. (graph->graphviz): Rename to graph->dot. Update docstring to mention dot. * scripts/ccwl.in (main): Accept --to=dot instead of --to=graphviz. Update --help usage information. * Makefile.am (%.dot): Pass --to=dot instead of --to=graphviz.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ccwl.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ccwl.in b/scripts/ccwl.in
index 300bc34..5fb7877 100755
--- a/scripts/ccwl.in
+++ b/scripts/ccwl.in
@@ -49,7 +49,7 @@
(let* ((args (args-fold args
(list (option (list #\t "to") #t #f
(lambda (opt name arg result)
- (let ((supported (list "cwl" "graphviz")))
+ (let ((supported (list "cwl" "dot")))
(unless (member arg supported)
(scm-error 'misc-error
#f
@@ -72,7 +72,7 @@
Compile SOURCE-FILE.
-t, --to=TARGET compile SOURCE-FILE to TARGET language;
- Supported targets are cwl (default) and graphviz.
+ Supported targets are cwl (default) and dot.
"
program)
@@ -84,7 +84,7 @@ Compile SOURCE-FILE.
(let ((to (assq-ref args 'to)))
((cond
((string=? to "cwl") workflow->cwl)
- ((string=? to "graphviz") workflow->graphviz))
+ ((string=? to "dot") workflow->dot))
(load (canonicalize-path (assq-ref args 'source-file)))
(current-output-port)))))
((program args ...)