From 00b8683a56fa13c6f7f942e8768e121a64e73097 Mon Sep 17 00:00:00 2001 From: Teodor Heggelund Date: Mon, 13 May 2024 22:31:49 +0200 Subject: [PATCH 1/2] Delete mention of deprecated option from docstring --- src/babashka/cli.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babashka/cli.cljc b/src/babashka/cli.cljc index 54b9283..9b82577 100644 --- a/src/babashka/cli.cljc +++ b/src/babashka/cli.cljc @@ -672,7 +672,7 @@ Table is in the form: ```clojure - [{:cmds [\"sub_1\" .. \"sub_n\"] :fn f :cmds-opts [:lib]} + [{:cmds [\"sub_1\" .. \"sub_n\"] :fn f} ... {:cmds [] :fn f}] ``` From 01a85f4ad93e33a737d5a941c22a74f8fcd51659 Mon Sep 17 00:00:00 2001 From: Teodor Heggelund Date: Mon, 13 May 2024 22:41:11 +0200 Subject: [PATCH 2/2] Use the non-deprecated form --- src/babashka/cli.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/babashka/cli.cljc b/src/babashka/cli.cljc index 9b82577..15ad9b9 100644 --- a/src/babashka/cli.cljc +++ b/src/babashka/cli.cljc @@ -672,7 +672,7 @@ Table is in the form: ```clojure - [{:cmds [\"sub_1\" .. \"sub_n\"] :fn f} + [{:cmds [\"sub_1\" .. \"sub_n\"] :fn f :args->opts [:lib]} ... {:cmds [] :fn f}] ```