File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 327
327
error-fn*))
328
328
[opt shell cmdline] args
329
329
_ (case opt
330
- " --babashka.cli/completion-snippet"
330
+ " --org. babashka.cli/completion-snippet"
331
331
(if-let [command-name (get-in opts [:completion :command ])]
332
332
(do (print-completion-shell-snippet (keyword shell) command-name)
333
333
(System/exit 0 ))
334
334
(binding [*out* *err*]
335
- (println " Need `:completion {:command \" <name>\" }` in opts to support shell completions" )
335
+ (println " Need `:completion {:command \" <name>\" }` in ` opts` to support shell completions" )
336
336
(System/exit 1 )))
337
- " --babashka.cli/complete"
337
+ " --org. babashka.cli/complete"
338
338
(do (print-opts-completions (keyword shell) opts cmdline)
339
339
(System/exit 0 ))
340
340
:noop )
@@ -818,9 +818,9 @@ complete --command %s --no-files --arguments \"(_babashka_cli_dynamic_completion
818
818
(let [command-name (get-in opts [:completion :command ])
819
819
[opt shell cmdline] args]
820
820
(case opt
821
- " --babashka.cli/completion-snippet"
821
+ " --org. babashka.cli/completion-snippet"
822
822
(print-completion-shell-snippet (keyword shell) command-name)
823
- " --babashka.cli/complete"
823
+ " --org. babashka.cli/complete"
824
824
(print-dispatch-completions (keyword shell) tree cmdline)
825
825
(let [{:as res :keys [cmd-info error available-commands]}
826
826
(dispatch-tree' tree args opts)
You can’t perform that action at this time.
0 commit comments