From 8caf849c1ed20ba0f80d766acc1854ef53a48d6f Mon Sep 17 00:00:00 2001 From: Taiju HIGASHI Date: Wed, 25 May 2022 00:05:46 +0900 Subject: [PATCH] config: Support for new optional/mandatory semantics. Because there has been a specification change in the way option arguments and mandatory switches are specified since guile-config 0.5. --- gwl/config.scm.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gwl/config.scm.in b/gwl/config.scm.in index 9ab58e5..f789998 100644 --- a/gwl/config.scm.in +++ b/gwl/config.scm.in @@ -65,7 +65,6 @@ workflow.") (list (argument (name 'file) - (optional? #false) (test file-exists?) (handler identity) (example "/path/to/my-workflow.w")))) @@ -95,12 +94,14 @@ workflow.") (character #\i) (synopsis "Specify workflow input NAME, optionally mapped to FILE") (example "NAME[=FILE]") + (default "") (test string?)) (switch (name 'output) (character #\o) (synopsis "Set LOCATION as output for a workflow") - (example "LOCATION")) + (example "LOCATION") + (default "")) (switch (name 'engine) (character #\e) @@ -147,7 +148,6 @@ format) of the specified workflow.") (list (argument (name 'file) - (optional? #false) (test file-exists?) (handler identity) (example "/path/to/my-workflow.w"))))) -- 2.36.0