Skip to content

Commit

Permalink
Do not print command's short description if it's not set
Browse files Browse the repository at this point in the history
  • Loading branch information
gpiero authored and dnaeon committed Jul 14, 2023
1 parent e771def commit d064028
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -1028,7 +1028,7 @@ _~~A() {
(defmethod print-usage ((command command) stream &key (wrap-at 70))
(initialize-command command)
(format stream "NAME:~%")
(format stream " ~A - ~A~2%" (command-full-name command) (command-description command))
(format stream " ~A~@[ - ~A~]~2%" (command-full-name command) (command-description command))

(format stream "USAGE:~%")
(format stream " ~A~2%" (command-usage-string command))
Expand Down

0 comments on commit d064028

Please sign in to comment.