Improve doc
This commit is contained in:
parent
99f6cd6ed4
commit
c1670e8670
1 changed files with 3 additions and 2 deletions
|
|
@ -163,11 +163,12 @@ Use -- to separate script command line args from bb command line args.
|
||||||
(if (simple-symbol? '%1$s)
|
(if (simple-symbol? '%1$s)
|
||||||
(try (require '%1$s) true
|
(try (require '%1$s) true
|
||||||
(catch Exception e nil))
|
(catch Exception e nil))
|
||||||
(requiring-resolve '%1$s)))
|
(try (requiring-resolve '%1$s) true
|
||||||
|
(catch Exception e nil))))
|
||||||
(clojure.repl/doc %1$s)
|
(clojure.repl/doc %1$s)
|
||||||
true)" arg))
|
true)" arg))
|
||||||
[nil 0]
|
[nil 0]
|
||||||
[(print-error "No docstring found for var:" arg) 1]))
|
[nil 1]))
|
||||||
,)
|
,)
|
||||||
|
|
||||||
(defn print-describe []
|
(defn print-describe []
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue