cli/help: only show aliases if there are any
This commit is contained in:
parent
7a34c56e52
commit
341e8b3531
1 changed files with 2 additions and 1 deletions
|
@ -28,7 +28,8 @@
|
||||||
collect (format "[%s]" (upcase (symbol-name arg)))))
|
collect (format "[%s]" (upcase (symbol-name arg)))))
|
||||||
" ")
|
" ")
|
||||||
""))
|
""))
|
||||||
(print! "Aliases: %s" (string-join (doom-cli-aliases cli) ", ")))
|
(when-let (aliases (doom-cli-aliases cli))
|
||||||
|
(print! "Aliases: %s" (string-join aliases ", "))))
|
||||||
|
|
||||||
(defun doom--cli-print-desc (cli &optional short)
|
(defun doom--cli-print-desc (cli &optional short)
|
||||||
(print! "%s"
|
(print! "%s"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue